diff options
author | Matthew Shao <me@matshao.com> | 2017-08-08 19:43:51 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-08-08 19:43:51 +0800 |
commit | 56781a0b08a0453fef0ff3f34d06c41c378cd7bc (patch) | |
tree | 9a9f97c2c6b0b15fda042e6b5300bce20a884ef1 | |
parent | 43e5647cefadd762d1ab14b20ea4c655dd45854e (diff) | |
download | mitmproxy-56781a0b08a0453fef0ff3f34d06c41c378cd7bc.tar.gz mitmproxy-56781a0b08a0453fef0ff3f34d06c41c378cd7bc.tar.bz2 mitmproxy-56781a0b08a0453fef0ff3f34d06c41c378cd7bc.zip |
Add test for AddonManager.__contains__
-rw-r--r-- | test/mitmproxy/test_addonmanager.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mitmproxy/test_addonmanager.py b/test/mitmproxy/test_addonmanager.py index accf48e0..274d2d90 100644 --- a/test/mitmproxy/test_addonmanager.py +++ b/test/mitmproxy/test_addonmanager.py @@ -137,6 +137,8 @@ def test_simple(): a.trigger("custom") assert ta.custom_called + assert ta in a + def test_load_option(): o = options.Options() |