Exemplo n.º 1
0
 def testViewManipulation(self):
     """When the model updates the view should too"""
     view = self.getView()
     view.twiddleControl("bar")
     self.assertEquals("bar", view.foo)
Exemplo n.º 2
0
 def testViewManipulation(self):
     """When the model updates the view should too"""
     view = self.getView()
     view.twiddleControl("bar")
     self.assertEquals("bar", view.foo)
Exemplo n.º 3
0
 def testModelManipulation(self):
     view = self.getView()
     view.twiddleControl("bar")
     self.assertEquals("bar", self.model.foo)
Exemplo n.º 4
0
 def testModelManipulation(self):
     view = self.getView()
     view.twiddleControl("bar")
     self.assertEquals("bar", self.model.foo)