add tests

This commit is contained in:
imperosol committed 2026-09-13 12:18:39 +02:00
1 parent 49f32169fa
commit e3b4d9e81f
3 files changed
+45 -51

No files matched your search

+1
View File
@@ -190,6 +190,7 @@ class UeFilterSchema(FilterSchema):
return Q(semester__in=value)
def filter_is_open(self, value: bool | None) -> Q: # noqa: FBT001
"""Filter by open/closed status."""
if value is None:
return Q()
if not value: