1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Removed 'tests' path prefix in a couple tests.

This commit is contained in:
Tim Graham
2022-05-01 21:44:04 -04:00
committed by Mariusz Felisiak
parent 1b3a949ba2
commit 694cf458f1
3 changed files with 5 additions and 5 deletions

View File

@@ -2358,7 +2358,7 @@ class WatchForTranslationChangesTests(SimpleTestCase):
def test_i18n_app_dirs(self):
mocked_sender = mock.MagicMock()
with self.settings(INSTALLED_APPS=["tests.i18n.sampleproject"]):
with self.settings(INSTALLED_APPS=["i18n.sampleproject"]):
watch_for_translation_changes(mocked_sender)
project_dir = Path(__file__).parent / "sampleproject" / "locale"
mocked_sender.watch_dir.assert_any_call(project_dir, "**/*.mo")