This commit is contained in:
Miroslav 2018-06-16 21:25:06 +03:00
parent 6c0e816df0
commit c187fcc5c2

View file

@ -304,6 +304,8 @@ def test_simple():
c.execute("")
with pytest.raises(exceptions.CommandError, match="argument mismatch"):
c.execute("one.two too many args")
with pytest.raises(exceptions.CommandError, match="Unknown"):
c.call("nonexistent")
c.add("empty", a.empty)
c.execute("empty")