(self)
| 200 | self._assert_crud(instance, defaults=defaults, updates=updates) |
| 201 | |
| 202 | def test_ref(self): |
| 203 | instance = self._create_instance() |
| 204 | ref = instance.get_reference() |
| 205 | self.assertIsNotNone(ref) |
| 206 | self.assertEqual(ref.pack, instance.pack) |
| 207 | self.assertEqual(ref.name, instance.name) |
| 208 | self.assertEqual(ref.ref, instance.pack + "." + instance.name) |
| 209 | self.assertEqual(ref.ref, instance.ref) |
| 210 | |
| 211 | def test_unique_key(self): |
| 212 | instance = self._create_instance() |
nothing calls this directly
no test coverage detected