Skip to content
Snippets Groups Projects
Verified Commit 9ed711e4 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Reformat

parent 62e055c7
No related branches found
No related tags found
1 merge request!69Update pyproject.toml
Pipeline #194780 failed
...@@ -205,7 +205,8 @@ def test_change_published_validity_range(): ...@@ -205,7 +205,8 @@ def test_change_published_validity_range():
validity_range.date_end = validity_range.date_end - timedelta(days=4) validity_range.date_end = validity_range.date_end - timedelta(days=4)
with pytest.raises( with pytest.raises(
ValidationError, ValidationError,
match=r".*To avoid data loss, the validity range can be only shortened until the current day.*", match=r".*To avoid data loss, the validity range "
r"can be only shortened until the current day.*",
): ):
validity_range.full_clean() validity_range.full_clean()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment