def testMoreViewManipulation(self): """When the model updates the view should too""" view = self.getView() value = view.pushButton() self.assertEquals(value, view.random)
def testMoreModelManipulation(self): view = self.getView() value = view.pushButton() self.assertEquals(value, self.model.random)