diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2017-03-07 13:16:28 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2017-03-07 13:16:28 +1300 |
commit | 99a6b0dbc1cc68bbcdbae1060a6f75ff4f0e9bf8 (patch) | |
tree | 078444dd0217ef17502e26b0c0af6d6bd4b05df3 /test | |
parent | d13df40753a3e8259ef4d2f25d9cb0c1e8141223 (diff) | |
download | mitmproxy-99a6b0dbc1cc68bbcdbae1060a6f75ff4f0e9bf8.tar.gz mitmproxy-99a6b0dbc1cc68bbcdbae1060a6f75ff4f0e9bf8.tar.bz2 mitmproxy-99a6b0dbc1cc68bbcdbae1060a6f75ff4f0e9bf8.zip |
Add --options that dumps annotated option defaults
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/test_optmanager.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/mitmproxy/test_optmanager.py b/test/mitmproxy/test_optmanager.py index a38662d5..6729b155 100644 --- a/test/mitmproxy/test_optmanager.py +++ b/test/mitmproxy/test_optmanager.py @@ -280,3 +280,8 @@ def test_option(): assert o2 == o o2.set(5) assert o2 != o + + +def test_dump(): + o = options.Options() + assert optmanager.dump(o)
\ No newline at end of file |