Commit 8de2493e by Chris Wanstrath

failing pizza test

parent 59ece1fe
...@@ -4,4 +4,4 @@ class Simple(pystache.View): ...@@ -4,4 +4,4 @@ class Simple(pystache.View):
template_path = 'examples' template_path = 'examples'
def thing(self): def thing(self):
return "world" return "pizza"
...@@ -14,3 +14,8 @@ class TestView(unittest.TestCase): ...@@ -14,3 +14,8 @@ class TestView(unittest.TestCase):
def test_template_load(self): def test_template_load(self):
view = Simple(thing='world') view = Simple(thing='world')
self.assertEquals(view.render(), "Hi world!") self.assertEquals(view.render(), "Hi world!")
def test_basic_method_calls(self):
view = Simple()
self.assertEquals(view.render(), "Hi pizza!")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment