diff --git a/tests/unit/analytics/test_apps.py b/tests/unit/analytics/test_apps.py new file mode 100644 index 0000000000..658bfc1c34 --- /dev/null +++ b/tests/unit/analytics/test_apps.py @@ -0,0 +1,9 @@ +import unittest +from django.apps import apps +from analytics.apps import AnalyticsConfig + + +class TestAnalyticsConfig(unittest.TestCase): + def test_apps(self): + self.assertEqual(AnalyticsConfig.name, "analytics") + self.assertEqual(apps.get_app_config("analytics").name, "analytics") diff --git a/tests/unit/participants/test_apps.py b/tests/unit/participants/test_apps.py new file mode 100644 index 0000000000..17d68b5810 --- /dev/null +++ b/tests/unit/participants/test_apps.py @@ -0,0 +1,9 @@ +import unittest +from django.apps import apps +from participants.apps import ParticipantsConfig + + +class TestParticipantsConfig(unittest.TestCase): + def test_apps(self): + self.assertEqual(ParticipantsConfig.name, "participants") + self.assertEqual(apps.get_app_config("participants").name, "participants") diff --git a/tests/unit/web/test_apps.py b/tests/unit/web/test_apps.py new file mode 100644 index 0000000000..bb8a7043c3 --- /dev/null +++ b/tests/unit/web/test_apps.py @@ -0,0 +1,9 @@ +import unittest +from django.apps import apps +from web.apps import WebConfig + + +class TestWebConfig(unittest.TestCase): + def test_apps(self): + self.assertEqual(WebConfig.name, "web") + self.assertEqual(apps.get_app_config("web").name, "web")