mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
using asserts
This commit is contained in:
parent
be50f3f481
commit
57197c3e6c
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user