File i18n_test.patch of Package python-Django
Index: Django-2.2/tests/i18n/tests.py
===================================================================
--- Django-2.2.orig/tests/i18n/tests.py
+++ Django-2.2/tests/i18n/tests.py
@@ -1820,7 +1820,7 @@ class WatchForTranslationChangesTests(Si
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')