Skip to content

Commit

Permalink
Reset translations changed in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Feb 12, 2024
1 parent ba1e033 commit 7f3f4c1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/tests/common/test_common_management_commands.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from contextlib import suppress
import subprocess
import datetime as dt

import pytest
Expand Down Expand Up @@ -75,6 +77,16 @@ def test_common_custom_migrate_does_not_blow_up():
@pytest.mark.django_db
def test_common_custom_makemessages_does_not_blow_up():
call_command("makemessages", "--keep-pot", locale=["de_DE"])
with suppress(Exception):
subprocess.run(
[
"git",
"checkout",
"--",
"pretalx/locale/de_DE",
"pretalx/locale/django.pot",
]
)


@pytest.mark.django_db
Expand Down

0 comments on commit 7f3f4c1

Please sign in to comment.