disable delay for some tests
This commit is contained in:
@@ -69,8 +69,10 @@ class TestBaseAuthRequests(BaseTest):
|
|||||||
with open(htpasswd_file_path, "w", encoding=encoding) as f:
|
with open(htpasswd_file_path, "w", encoding=encoding) as f:
|
||||||
f.write(htpasswd_content)
|
f.write(htpasswd_content)
|
||||||
self.configure({"auth": {"type": "htpasswd",
|
self.configure({"auth": {"type": "htpasswd",
|
||||||
|
"delay": 0,
|
||||||
"htpasswd_filename": htpasswd_file_path,
|
"htpasswd_filename": htpasswd_file_path,
|
||||||
"htpasswd_encryption": htpasswd_encryption}})
|
"htpasswd_encryption": htpasswd_encryption},
|
||||||
|
"server": {"delay_on_error": 0}})
|
||||||
if test_matrix == "ascii":
|
if test_matrix == "ascii":
|
||||||
test_matrix = (("tmp", "bepo", True), ("tmp", "tmp", False),
|
test_matrix = (("tmp", "bepo", True), ("tmp", "tmp", False),
|
||||||
("tmp", "", False), ("unk", "unk", False),
|
("tmp", "", False), ("unk", "unk", False),
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ collection: .*
|
|||||||
permissions: RrWw""")
|
permissions: RrWw""")
|
||||||
self.configure({"rights": {"file": rights_file_path,
|
self.configure({"rights": {"file": rights_file_path,
|
||||||
"type": "from_file"},
|
"type": "from_file"},
|
||||||
|
"server": {"delay_on_error": 0},
|
||||||
"logging": {"request_header_on_debug": "True",
|
"logging": {"request_header_on_debug": "True",
|
||||||
"request_content_on_debug": "True",
|
"request_content_on_debug": "True",
|
||||||
"response_header_on_debug": "True",
|
"response_header_on_debug": "True",
|
||||||
|
|||||||
Reference in New Issue
Block a user