Skip to content

Commit 7fd6cde

Browse files
committed
disable delay for some tests
1 parent 9432e0a commit 7fd6cde

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

radicale/tests/test_auth.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ def _test_htpasswd(self, htpasswd_encryption: str, htpasswd_content: str,
6969
with open(htpasswd_file_path, "w", encoding=encoding) as f:
7070
f.write(htpasswd_content)
7171
self.configure({"auth": {"type": "htpasswd",
72+
"delay": 0,
7273
"htpasswd_filename": htpasswd_file_path,
73-
"htpasswd_encryption": htpasswd_encryption}})
74+
"htpasswd_encryption": htpasswd_encryption},
75+
"server": {"delay_on_error": 0}})
7476
if test_matrix == "ascii":
7577
test_matrix = (("tmp", "bepo", True), ("tmp", "tmp", False),
7678
("tmp", "", False), ("unk", "unk", False),

radicale/tests/test_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def setup_method(self) -> None:
7373
permissions: RrWw""")
7474
self.configure({"rights": {"file": rights_file_path,
7575
"type": "from_file"},
76+
"server": {"delay_on_error": 0},
7677
"logging": {"request_header_on_debug": "True",
7778
"request_content_on_debug": "True",
7879
"response_header_on_debug": "True",

0 commit comments

Comments
 (0)