diff options
-rw-r--r-- | test/mitmproxy/test_command.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mitmproxy/test_command.py b/test/mitmproxy/test_command.py index ffbb20af..6b8bc7b0 100644 --- a/test/mitmproxy/test_command.py +++ b/test/mitmproxy/test_command.py @@ -321,6 +321,9 @@ def test_collect_commands(): c = command.CommandManager(tctx.master) a = TDec() c.collect_commands(a) + assert not "cmd1" in c.commands + assert not "cmd2" in c.commands + assert not "empty" in c.commands def test_decorator(): |