summaryrefslogtreecommitdiff
path: root/tests/apps/tests.py
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2019-01-14 01:33:47 +0000
committerTim Graham <timograham@gmail.com>2019-01-13 20:33:47 -0500
commitc8720e7696ca41f3262d5369365cc1bd72a216ca (patch)
tree1fc858e37415196f06982d2af32f98e29044cde1 /tests/apps/tests.py
parenta02a6fd5805f9f0e613b9951249555876b8c4041 (diff)
Fixed #27685 -- Added watchman support to the autoreloader.
Removed support for pyinotify (refs #9722).
Diffstat (limited to 'tests/apps/tests.py')
-rw-r--r--tests/apps/tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py
index cd22a4d45c..566aec60c3 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -48,6 +48,9 @@ class AppsTests(SimpleTestCase):
self.assertIs(apps.ready, True)
# Non-master app registries are populated in __init__.
self.assertIs(Apps().ready, True)
+ # The condition is set when apps are ready
+ self.assertIs(apps.ready_event.is_set(), True)
+ self.assertIs(Apps().ready_event.is_set(), True)
def test_bad_app_config(self):
"""