def test__inplace_2(self): entity = Entity('foo') entity_inplace = entity._inplace(False) self.assertNotEqual(entity, entity_inplace)
def test__inplace_1(self): entity = Entity('foo') entity_inplace = entity._inplace(True) self.assertEqual(entity, entity_inplace)