From 63c6efc851d284a2f202303bde209c4afb5d28ba Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Fri, 31 Jul 2015 09:26:48 -0700 Subject: [PATCH] autocolls test: patch wsgiref not waitress as it is default --- tests/test_auto_colls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_auto_colls.py b/tests/test_auto_colls.py index c9e8dd4b..622adc36 100644 --- a/tests/test_auto_colls.py +++ b/tests/test_auto_colls.py @@ -76,7 +76,8 @@ class TestManagedColls(object): def teardown(self): J2TemplateView.shared_jinja_env = None - @patch('waitress.serve', lambda *args, **kwargs: None) + #@patch('waitress.serve', lambda *args, **kwargs: None) + @patch('BaseHTTPServer.HTTPServer.serve_forever', lambda *args, **kwargs: None) def test_run_cli(self): """ test new wayback cli interface test autoindex error before collections inited