From 56781a0b08a0453fef0ff3f34d06c41c378cd7bc Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Tue, 8 Aug 2017 19:43:51 +0800 Subject: [PATCH] Add test for AddonManager.__contains__ --- test/mitmproxy/test_addonmanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/mitmproxy/test_addonmanager.py b/test/mitmproxy/test_addonmanager.py index accf48e0c..274d2d90c 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()