dav_events.config: fixed tests and improved FieldInitial

This commit is contained in:
heinzel committed 2026-06-11 16:17:35 +02:00
1 parent 8ddabd3189
commit 9c513b3dee
2 files changed
+9 -5

No files matched your search

+4 -2
View File
@@ -83,8 +83,10 @@ class FieldInitialTestCase(TestCase):
def test_invalid_constraints(self):
invalid_constraints = (
'sport', # Not in <key><operator><value> form
'sport ==hiking' # Blanks before operator
'sport== hiking' # Blanks after operator
'sport ==hiking', # Blank before operator
'sport== hiking', # Blank after operator
'sport=hiking', # Invalid operator
'sport===hiking', # Invalid operator
'sport!=hiking', # Invalid operator
'==hiking', # Missing key
)