Skip to content

Commit

Permalink
Possibly fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luisa-beerboom committed Jul 25, 2024
1 parent 78cef3f commit f13c902
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions tests/system/action/motion/test_create_forwarded.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,9 +1305,14 @@ def test_name_generation(self) -> None:
)
self.assert_status_code(response, 200)
created_id = response.json["results"][0][0]["id"]
self.assert_model_exists(
f"motion/{created_id}",
{
"additional_submitter": "Worship the administrator (he · is, very, good), He is User 2 (he · is, good), King (Kong · very), Good (good), He, she, it (ein 's' muss mit), Grandma not see, Sue B. Mid-Edit"
},
)
motion = self.assert_model_exists(f"motion/{created_id}")
for name in [
"Worship the administrator (he · is, very, good)",
"He is User 2 (he · is, good)",
"King (Kong · very)",
"Good (good)",
"He, she, it (ein 's' muss mit)",
"Grandma not see",
"Sue B. Mid-Edit",
]:
assert name in motion["additional_submitter"]

0 comments on commit f13c902

Please sign in to comment.