Skip to content

Commit 63c6efc

Browse files
committed
autocolls test: patch wsgiref not waitress as it is default
1 parent d84185a commit 63c6efc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_auto_colls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ def _get_sample_warc(self, name):
7676
def teardown(self):
7777
J2TemplateView.shared_jinja_env = None
7878

79-
@patch('waitress.serve', lambda *args, **kwargs: None)
79+
#@patch('waitress.serve', lambda *args, **kwargs: None)
80+
@patch('BaseHTTPServer.HTTPServer.serve_forever', lambda *args, **kwargs: None)
8081
def test_run_cli(self):
8182
""" test new wayback cli interface
8283
test autoindex error before collections inited

0 commit comments

Comments
 (0)