Tests the ready property of the main registry.
(self)
| 49 | Apps(installed_apps=None) |
| 50 | |
| 51 | def test_ready(self): |
| 52 | """ |
| 53 | Tests the ready property of the main registry. |
| 54 | """ |
| 55 | # The main app registry is always ready when the tests run. |
| 56 | self.assertIs(apps.ready, True) |
| 57 | # Non-main app registries are populated in __init__. |
| 58 | self.assertIs(Apps().ready, True) |
| 59 | # The condition is set when apps are ready |
| 60 | self.assertIs(apps.ready_event.is_set(), True) |
| 61 | self.assertIs(Apps().ready_event.is_set(), True) |
| 62 | |
| 63 | def test_bad_app_config(self): |
| 64 | """ |