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:
committed by
Mariusz Felisiak
parent
1b3a949ba2
commit
694cf458f1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user