add tests

This commit is contained in:
imperosol committed 2026-05-20 10:41:19 +02:00
1 parent b6522971b2
commit 307f1fb1fe
4 files changed
+36 -21

No files matched your search

@@ -148,6 +148,9 @@ class Migration(migrations.Migration):
("is_presidency", False), ("is_board", True), _connector="OR"
),
name="clubrole_presidency_implies_board",
violation_error_message=(
"A role cannot be in the presidency while not being in the board"
),
),
),
migrations.RunPython(migrate_roles, migrations.RunPython.noop),