diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-06-12 13:41:04 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-06-15 15:50:45 +0200 |
commit | 30fbf57e4b72e3947c323d98aee7b2d44663e33c (patch) | |
tree | a0b23dc58b5c208ce37a52875529c10b5471321a /test/test_pathod_cmdline.py | |
parent | 22811c45dd1e6e6f1c8108e83a7be625f305c19e (diff) | |
download | mitmproxy-30fbf57e4b72e3947c323d98aee7b2d44663e33c.tar.gz mitmproxy-30fbf57e4b72e3947c323d98aee7b2d44663e33c.tar.bz2 mitmproxy-30fbf57e4b72e3947c323d98aee7b2d44663e33c.zip |
delay pathod parsing until needed
This allows us to use different languages based on runtime env.
Diffstat (limited to 'test/test_pathod_cmdline.py')
-rw-r--r-- | test/test_pathod_cmdline.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/test_pathod_cmdline.py b/test/test_pathod_cmdline.py index 590bb56b..829c4b32 100644 --- a/test/test_pathod_cmdline.py +++ b/test/test_pathod_cmdline.py @@ -65,15 +65,6 @@ def test_pathod(perror): assert perror.called perror.reset_mock() - s = cStringIO.StringIO() - tutils.raises( - SystemExit, - cmdline.args_pathod, - ["pathod", "-a", "foo=."], - s, - s - ) - a = cmdline.args_pathod( [ "pathod", @@ -92,13 +83,3 @@ def test_pathod(perror): ) assert perror.called perror.reset_mock() - - a = cmdline.args_pathod( - [ - "pathod", - "-c", - "?" - ] - ) - assert perror.called - perror.reset_mock() |