diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-03-02 16:47:10 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-03-02 16:47:10 +1300 |
commit | e381c0366863ae412547e16d67860137a6b89a32 (patch) | |
tree | 5bb778e9b63472180a18f168166889bf56b9f2c7 /test/test_odict.py | |
parent | 7788391903ef67ed1e779560936d60402159f8f5 (diff) | |
download | mitmproxy-e381c0366863ae412547e16d67860137a6b89a32.tar.gz mitmproxy-e381c0366863ae412547e16d67860137a6b89a32.tar.bz2 mitmproxy-e381c0366863ae412547e16d67860137a6b89a32.zip |
Cleanups, tests, and no-cover directives for code sections we can't test.
Diffstat (limited to 'test/test_odict.py')
-rw-r--r-- | test/test_odict.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/test_odict.py b/test/test_odict.py index 26bff357..cdbb4f39 100644 --- a/test/test_odict.py +++ b/test/test_odict.py @@ -41,14 +41,6 @@ class TestODict: assert h.match_re("two: due") assert not h.match_re("nonono") - def test_getset_state(self): - self.od.add("foo", 1) - self.od.add("foo", 2) - self.od.add("bar", 3) - state = self.od._get_state() - nd = odict.ODict._from_state(state) - assert nd == self.od - def test_in_any(self): self.od["one"] = ["atwoa", "athreea"] assert self.od.in_any("one", "two") |