mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Suppress log output for failing digest auth in tests
This commit is contained in:
parent
f838e6c3a4
commit
6cf0462066
@ -190,6 +190,8 @@ class TestAuth(BaseTest):
|
||||
# Check that server ignores repeated nc values
|
||||
ok_test(conn, digest(**args))
|
||||
|
||||
warnings = []
|
||||
server.loop.log.warn = lambda *args, **kwargs: warnings.append(' '.join(args))
|
||||
# Check stale nonces
|
||||
orig, r.auth_controller.max_age_seconds = r.auth_controller.max_age_seconds, -1
|
||||
auth = parse_http_dict(test(conn, '/closed', headers={
|
||||
|
Loading…
x
Reference in New Issue
Block a user