using asserts

This commit is contained in:
kira0204 2018-03-07 06:34:16 +05:30
parent be50f3f481
commit 57197c3e6c

View File

@ -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():