summaryrefslogtreecommitdiff
path: root/tests/apps
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2021-11-22 10:47:38 +0000
committerCarlton Gibson <carlton.gibson@noumenal.es>2022-03-08 14:50:06 +0100
commita8c15481f4be93700f6e4a8f794de26744e6db20 (patch)
tree1fd9a909f28d32133b6f4b6d903411491385bb25 /tests/apps
parentd4fd31684ad5a7b9be8a9d26c5a8796f96c8d80b (diff)
downloaddjango-a8c15481f4be93700f6e4a8f794de26744e6db20.tar.gz
Rewrote some references to "master".
Following d9a266d657f66b8c4fa068408002a4e3709ee669.
Diffstat (limited to 'tests/apps')
-rw-r--r--tests/apps/tests.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py
index 278caa3584..9f989c5d9a 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -33,20 +33,20 @@ HERE = os.path.dirname(__file__)
class AppsTests(SimpleTestCase):
- def test_singleton_master(self):
+ def test_singleton_main(self):
"""
- Only one master registry can exist.
+ Only one main registry can exist.
"""
with self.assertRaises(RuntimeError):
Apps(installed_apps=None)
def test_ready(self):
"""
- Tests the ready property of the master registry.
+ Tests the ready property of the main registry.
"""
- # The master app registry is always ready when the tests run.
+ # The main app registry is always ready when the tests run.
self.assertIs(apps.ready, True)
- # Non-master app registries are populated in __init__.
+ # Non-main 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)