From 03bb0a09b95d1942a62435545d867b0888de75fa Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Mon, 12 Jun 2017 20:27:21 +0800 Subject: Add tests for dump_dicts in optmanager.py. --- test/mitmproxy/test_optmanager.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/mitmproxy/test_optmanager.py b/test/mitmproxy/test_optmanager.py index 04ec7ded..37fe0e3a 100644 --- a/test/mitmproxy/test_optmanager.py +++ b/test/mitmproxy/test_optmanager.py @@ -334,6 +334,11 @@ def test_dump_defaults(): assert optmanager.dump_defaults(o) +def test_dump_dicts(): + o = options.Options() + assert optmanager.dump_dicts(o) + + class TTypes(optmanager.OptManager): def __init__(self): super().__init__() -- cgit v1.2.3