diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-12-16 17:26:19 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-16 17:26:19 +1300 |
commit | 6695ce462405b8691a0cc4d8110f67f2bd871bc5 (patch) | |
tree | 59db0ec41e7ae47d906d841393b8dbf02430b9fc /test | |
parent | e769b1fa9a80c41bab0fa2a200f8c51fc10a3d32 (diff) | |
parent | e387c68b387a0c664743d416d9b32a669f3c1c16 (diff) | |
download | mitmproxy-6695ce462405b8691a0cc4d8110f67f2bd871bc5.tar.gz mitmproxy-6695ce462405b8691a0cc4d8110f67f2bd871bc5.tar.bz2 mitmproxy-6695ce462405b8691a0cc4d8110f67f2bd871bc5.zip |
Merge pull request #1861 from cortesi/marking
console: mark view indiciator, fix empty flow list behaviour
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/addons/test_view.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/mitmproxy/addons/test_view.py b/test/mitmproxy/addons/test_view.py index 27e10058..96f213e2 100644 --- a/test/mitmproxy/addons/test_view.py +++ b/test/mitmproxy/addons/test_view.py @@ -123,6 +123,11 @@ def test_filter(): v.set_filter(None) assert len(v) == 4 + v.toggle_marked() + assert len(v) == 0 + v.toggle_marked() + assert len(v) == 4 + v[1].marked = True v.toggle_marked() assert len(v) == 1 |