Only one main registry can exist.
(self)
| 42 | |
| 43 | class AppsTests(SimpleTestCase): |
| 44 | def test_singleton_main(self): |
| 45 | """ |
| 46 | Only one main registry can exist. |
| 47 | """ |
| 48 | with self.assertRaises(RuntimeError): |
| 49 | Apps(installed_apps=None) |
| 50 | |
| 51 | def test_ready(self): |
| 52 | """ |