From 57197c3e6cad1c1ef16e3538c0032ce94e239553 Mon Sep 17 00:00:00 2001 From: kira0204 Date: Wed, 7 Mar 2018 06:34:16 +0530 Subject: using asserts --- test/mitmproxy/test_command.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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(): -- cgit v1.2.3