From 9fb857ec00d47c7b83994c8eb6e41c9bcea44319 Mon Sep 17 00:00:00 2001 From: Guillaume Gauvrit Date: Fri, 26 Jul 2013 16:01:58 +0200 Subject: [PATCH] Fix tests Functional test change the content of POTENTIAL_HTTP_PORTS but don't reset it. Ignore those changes. --- tests/unit/test_httpretty.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/test_httpretty.py b/tests/unit/test_httpretty.py index b0d46c1..03810e1 100644 --- a/tests/unit/test_httpretty.py +++ b/tests/unit/test_httpretty.py @@ -61,6 +61,7 @@ def test_httpretty_should_raise_on_socket_send_when_uri_registered(): HTTPretty.enable() defaults = core.POTENTIAL_HTTP_PORTS[:] + core.POTENTIAL_HTTP_PORTS = [80, 443] HTTPretty.register_uri(HTTPretty.GET, 'http://127.0.0.1:5000') expect(core.POTENTIAL_HTTP_PORTS).to.be.equal([80, 443, 5000])