diff options
author | Thomas Kriechbaumer <Kriechi@users.noreply.github.com> | 2016-07-07 09:48:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-07 09:48:22 +0200 |
commit | 64ac2c73fe1c10bda9c5ff348e81f6dfaa7439b9 (patch) | |
tree | bd1e5e6255f909d85e54d8a4e6f50aba6d0d2630 /test/pathod/test_pathoc.py | |
parent | 605a4fd2fda2249ffeb4e34117910700e1a6353f (diff) | |
parent | 64a867973d5bac136c2e1c3c11c457d6b04d6649 (diff) | |
download | mitmproxy-64ac2c73fe1c10bda9c5ff348e81f6dfaa7439b9.tar.gz mitmproxy-64ac2c73fe1c10bda9c5ff348e81f6dfaa7439b9.tar.bz2 mitmproxy-64ac2c73fe1c10bda9c5ff348e81f6dfaa7439b9.zip |
Merge pull request #1318 from mhils/tnetstring3-unicode-type
[tests actually pass] Add unicode to tnetstring3
Diffstat (limited to 'test/pathod/test_pathoc.py')
-rw-r--r-- | test/pathod/test_pathoc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pathod/test_pathoc.py b/test/pathod/test_pathoc.py index 28f9f0f8..361a863b 100644 --- a/test/pathod/test_pathoc.py +++ b/test/pathod/test_pathoc.py @@ -54,10 +54,10 @@ class TestDaemonSSL(PathocTestDaemon): def test_sni(self): self.tval( ["get:/p/200"], - sni=b"foobar.com" + sni="foobar.com" ) log = self.d.log() - assert log[0]["request"]["sni"] == b"foobar.com" + assert log[0]["request"]["sni"] == "foobar.com" def test_showssl(self): assert "certificate chain" in self.tval(["get:/p/200"], showssl=True) |