Skip to content

Commit

Permalink
v9.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed Feb 29, 2024
1 parent d9010c7 commit 919599f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Empty file removed ambient_toolbox/locale/xx/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 0 additions & 6 deletions tests/management_commands/test_create_translation_file.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
from os.path import isfile
from pathlib import Path

from django.conf import settings
from django.core.management import call_command
from django.test import SimpleTestCase


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")

Expand Down

0 comments on commit 919599f

Please sign in to comment.