def test_update(self): model_change = ModelChange(name='test12345') model_change.save() self.assert_update(model_change, name='test54321')
def test_update(self): MC = ModelChange(name='test12345') MC.save() self.assert_update(MC, name='test54321')