| Total Complexity | 2 |
| Total Lines | 8 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from django.core.exceptions import ImproperlyConfigured |
||
| 9 | class TestAppNestedTests(ActivityBaseTestCase): |
||
| 10 | |||
| 11 | def test_registration(self): |
||
| 12 | self.assertIn(my_model.NestedModel, registry) |
||
| 13 | |||
| 14 | def test_not_installed(self): |
||
| 15 | from notinstalled.models import NotInstalledModel |
||
| 16 | self.assertRaises(ImproperlyConfigured, register, NotInstalledModel) |
||
| 17 |