def test_restful_is_dirty(self): model = Restful() self.assertFalse(model.is_dirty) model.key = 'value' self.assertTrue(model.is_dirty)
def test_restful_is_dirty(self): model = Restful() self.assertFalse(model.is_dirty) model.key = "value" self.assertTrue(model.is_dirty)
def test_restful_get_all_attributes(self): model = Restful() model.key = 'value' self.assertDictEqual({'key': 'value'}, model.get_all_attributes())
def test_restful_get_all_attributes(self): model = Restful() model.key = "value" self.assertDictEqual({"key": "value"}, model.get_all_attributes())