예제 #1
0
 def testMoreViewManipulation(self):
     """When the model updates the view should too"""
     view = self.getView()
     value = view.pushButton()
     self.assertEquals(value, view.random)
예제 #2
0
 def testMoreViewManipulation(self):
     """When the model updates the view should too"""
     view = self.getView()
     value = view.pushButton()
     self.assertEquals(value, view.random)
예제 #3
0
 def testMoreModelManipulation(self):
     view = self.getView()
     value = view.pushButton()
     self.assertEquals(value, self.model.random)
예제 #4
0
 def testMoreModelManipulation(self):
     view = self.getView()
     value = view.pushButton()
     self.assertEquals(value, self.model.random)