def test_one(self): TestCaseModel.objects.create(uuid=self.uuid) self.assertEqual(get_by_uuid(self.uuid, field_name='uuid').uuid, self.uuid)
def test(self): self.assertIsNone(get_by_uuid(self.uuid, field_name='uuid'))