diff --git a/ambient_toolbox/locale/xx/.gitkeep b/ambient_toolbox/locale/xx/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/settings.py b/settings.py index c960852..1f7e1e0 100644 --- a/settings.py +++ b/settings.py @@ -66,7 +66,7 @@ TIME_ZONE = "UTC" -LOCALE_PATHS = [BASE_PATH / "/ambient_toolbox/locale"] +LOCALE_PATHS = [BASE_PATH / "ambient_toolbox/locale"] PASSWORD_HASHERS = [ "django.contrib.auth.hashers.MD5PasswordHasher", diff --git a/tests/management_commands/test_create_translation_file.py b/tests/management_commands/test_create_translation_file.py index dbfbeaf..a110fa0 100644 --- a/tests/management_commands/test_create_translation_file.py +++ b/tests/management_commands/test_create_translation_file.py @@ -1,5 +1,4 @@ from os.path import isfile -from pathlib import Path from django.conf import settings from django.core.management import call_command @@ -7,11 +6,6 @@ class CreateTranslationFileTest(SimpleTestCase): - @classmethod - def setUpClass(cls): - super().setUpClass() - Path(settings.LOCALE_PATHS[0] / "xx/LC_MESSAGES").mkdir(parents=True, exist_ok=True) - def test_command_regular(self): call_command("create_translation_file", lang="xx")