diff options
Diffstat (limited to 'test/test_server.py')
-rw-r--r-- | test/test_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_server.py b/test/test_server.py index e9b61165..1e3c1df4 100644 --- a/test/test_server.py +++ b/test/test_server.py @@ -44,7 +44,7 @@ class uProxy(tutils.ProxTest): l = self.log() assert l[0].address - assert l[1].headers.has_key("host") + assert "host" in l[1].headers assert l[2].code == 200 def test_https(self): @@ -55,7 +55,7 @@ class uProxy(tutils.ProxTest): l = self.log() assert l[0].address - assert l[1].headers.has_key("host") + assert "host" in l[1].headers assert l[2].code == 200 # Disable these two for now: they take a long time. |