mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
Coverage
This commit is contained in:
parent
6c0e816df0
commit
c187fcc5c2
1 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue