Skip to content

Commit

Permalink
Fix the tests to allow for the modified strings
Browse files Browse the repository at this point in the history
Signed-off-by: Akashdeep Dhar <[email protected]>
  • Loading branch information
gridhead authored and mergify[bot] committed Jan 18, 2024
1 parent b746a86 commit c96ecb9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/unit/translations/test_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,4 @@ def test_translation_in_template_french(client, compile_catalogs):
assert result.status_code == 404
page = BeautifulSoup(result.data, 'html.parser')
message = page.select_one(".alert.alert-danger")
assert (
message.get_text(strip=True)
== "404Cette page n'a pas été trouvée. Et voilà, tu as tout gâché."
)
assert message.get_text(strip=True) == "404Cette page n'a pas été trouvée."

0 comments on commit c96ecb9

Please sign in to comment.