diff options
| author | Aldo Cortesi <aldo@corte.si> | 2018-05-12 14:41:23 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-12 14:41:23 +1200 |
| commit | 7fde02ac90542d932f1d1822dbad6fab761663bd (patch) | |
| tree | 568d17d77eacb3ddb2586769ae325eb911c359b4 /test | |
| parent | 2db0245233c272ad9edd0a7710396c38e7c3097d (diff) | |
| parent | 58ff51da10eff7090ff2a63436c558b1eb5150c3 (diff) | |
| download | mitmproxy-7fde02ac90542d932f1d1822dbad6fab761663bd.tar.gz mitmproxy-7fde02ac90542d932f1d1822dbad6fab761663bd.tar.bz2 mitmproxy-7fde02ac90542d932f1d1822dbad6fab761663bd.zip | |
Merge pull request #3117 from cortesi/morefixes
More misc fixes
Diffstat (limited to 'test')
| -rw-r--r-- | test/mitmproxy/test_command.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mitmproxy/test_command.py b/test/mitmproxy/test_command.py index 7c0dc06d..029dbafd 100644 --- a/test/mitmproxy/test_command.py +++ b/test/mitmproxy/test_command.py @@ -281,6 +281,8 @@ def test_simple(): c.execute("one.two too many args") with pytest.raises(exceptions.CommandError, match="Unknown"): c.call("nonexistent") + with pytest.raises(exceptions.CommandError, match="No escaped"): + c.execute("\\") c.add("empty", a.empty) c.execute("empty") |
