aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2016-05-19 16:47:51 +0200
committerThomas Kriechbaumer <Kriechi@users.noreply.github.com>2016-05-19 16:47:51 +0200
commit79cb17ef03afac2b7314f6aed13480024672993e (patch)
tree4958ea3f6a14dd9b6119f7acf6334521a5038fd6 /test
parenta7b9e3033db29a27344c9f5d968c2af25d4a9ac0 (diff)
parentd1fc694952e473a2dfde807360deb65aa2e5c7d3 (diff)
downloadmitmproxy-79cb17ef03afac2b7314f6aed13480024672993e.tar.gz
mitmproxy-79cb17ef03afac2b7314f6aed13480024672993e.tar.bz2
mitmproxy-79cb17ef03afac2b7314f6aed13480024672993e.zip
Merge pull request #1152 from mhils/cleanup-odict
clean up odict
Diffstat (limited to 'test')
-rw-r--r--test/netlib/test_odict.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/netlib/test_odict.py b/test/netlib/test_odict.py
index f0985ef6..b6fd6401 100644
--- a/test/netlib/test_odict.py
+++ b/test/netlib/test_odict.py
@@ -27,16 +27,6 @@ class TestODict(object):
b.set_state(state)
assert b == od
- def test_in_any(self):
- od = odict.ODict()
- od["one"] = ["atwoa", "athreea"]
- assert od.in_any("one", "two")
- assert od.in_any("one", "three")
- assert not od.in_any("one", "four")
- assert not od.in_any("nonexistent", "foo")
- assert not od.in_any("one", "TWO")
- assert od.in_any("one", "TWO", True)
-
def test_iter(self):
od = odict.ODict()
assert not [i for i in od]