diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-03-23 13:28:33 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-03-23 13:28:33 +1300 |
commit | ed74ed24a008ecc866e64c22e0b938d8ee1a4f1c (patch) | |
tree | 3f5ffbedb2c0dd7cec9902f1ff6adc43f59d0c60 /test | |
parent | 45ab22f0d9b75a6cdfa123d206243e4eb2d40d41 (diff) | |
download | mitmproxy-ed74ed24a008ecc866e64c22e0b938d8ee1a4f1c.tar.gz mitmproxy-ed74ed24a008ecc866e64c22e0b938d8ee1a4f1c.tar.bz2 mitmproxy-ed74ed24a008ecc866e64c22e0b938d8ee1a4f1c.zip |
Add error indications to GridEditor.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_flow.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index 68555bd5..8a7da05c 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -1077,6 +1077,10 @@ class uReplaceHooks(libpry.AutoTree): h.run(f) assert f.request.content == "bar" + assert not h.add("~", "foo", "bar") + assert not h.add("foo", "*", "bar") + + tests = [ uReplaceHooks(), |