aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_dump.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-07-24 15:30:52 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-07-24 15:30:52 +1200
commit84bffad3fc8f3a8e2a6290de522356b5a7ab061e (patch)
treec52f032254cb35ba19b347925226dbbc37a3a0e1 /test/test_dump.py
parentb4e9e55c3420f9bcd27142dfaaf0934e73d90b6f (diff)
downloadmitmproxy-84bffad3fc8f3a8e2a6290de522356b5a7ab061e.tar.gz
mitmproxy-84bffad3fc8f3a8e2a6290de522356b5a7ab061e.tar.bz2
mitmproxy-84bffad3fc8f3a8e2a6290de522356b5a7ab061e.zip
Fix flow read unit test to accomodate more tolerant dumpfile parsing.
Diffstat (limited to 'test/test_dump.py')
-rw-r--r--test/test_dump.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_dump.py b/test/test_dump.py
index 5e2fcdc4..884a5b64 100644
--- a/test/test_dump.py
+++ b/test/test_dump.py
@@ -82,10 +82,8 @@ class TestDumpMaster:
0, None, "", verbosity=1, rfile="/nonexistent"
)
- libpry.raises(
- dump.DumpError, self._dummy_cycle,
- 0, None, "", verbosity=1, rfile=tutils.test_data.path("test_dump.py")
- )
+ # We now just ignore errors
+ self._dummy_cycle(0, None, "", verbosity=1, rfile=tutils.test_data.path("test_dump.py"))
def test_options(self):
o = dump.Options(verbosity = 2)