diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2015-09-05 20:45:58 +0200 | 
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-05 20:45:58 +0200 | 
| commit | 5125c669ccd2db5de5f90c66db61e64f63f3ba4c (patch) | |
| tree | 6773ffcaada096f7e02c54665b733c1bad350e98 /test/test_dump.py | |
| parent | 00561d280ccd4aac06b13b434e0aef4492148cb5 (diff) | |
| download | mitmproxy-5125c669ccd2db5de5f90c66db61e64f63f3ba4c.tar.gz mitmproxy-5125c669ccd2db5de5f90c66db61e64f63f3ba4c.tar.bz2 mitmproxy-5125c669ccd2db5de5f90c66db61e64f63f3ba4c.zip  | |
adjust to new netlib Headers class
Diffstat (limited to 'test/test_dump.py')
| -rw-r--r-- | test/test_dump.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_dump.py b/test/test_dump.py index 9f055bac..c76f555f 100644 --- a/test/test_dump.py +++ b/test/test_dump.py @@ -145,7 +145,7 @@ class TestDumpMaster:          o = dump.Options(setheaders=[(".*", "one", "two")])          m = dump.DumpMaster(None, o, outfile=cs)          f = self._cycle(m, "content") -        assert f.request.headers["one"] == ["two"] +        assert f.request.headers["one"] == "two"      def test_basic(self):          for i in (1, 2, 3):  | 
