(self)
| 40 | model._meta.managed = True |
| 41 | |
| 42 | def tearDown(self): |
| 43 | for model in Article, Authors, Reviewers, Scientist: |
| 44 | model._meta.managed = False |
| 45 | |
| 46 | apps.app_configs["model_options"].models = self._old_models |
| 47 | apps.all_models["model_options"] = self._old_models |
| 48 | apps.clear_cache() |
| 49 | |
| 50 | def assertNumContains(self, haystack, needle, count): |
| 51 | real_count = haystack.count(needle) |
nothing calls this directly
no test coverage detected