diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-09-17 11:47:07 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-09-17 11:47:07 +1200 |
commit | 414a0a1602b27e9ed1d5aae42ad06d781a5461a6 (patch) | |
tree | c98bbf1d113e3456f77d7400f94e0975db2dedaa /test/test_odict.py | |
parent | b21df0cf44a270755dd419e1a5faee50dee9a48b (diff) | |
download | mitmproxy-414a0a1602b27e9ed1d5aae42ad06d781a5461a6.tar.gz mitmproxy-414a0a1602b27e9ed1d5aae42ad06d781a5461a6.tar.bz2 mitmproxy-414a0a1602b27e9ed1d5aae42ad06d781a5461a6.zip |
Adjust for state object protocol changes in mitmproxy.
Diffstat (limited to 'test/test_odict.py')
-rw-r--r-- | test/test_odict.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_odict.py b/test/test_odict.py index 794956be..a682d7eb 100644 --- a/test/test_odict.py +++ b/test/test_odict.py @@ -28,10 +28,10 @@ class TestODict: 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) + state = self.od.get_state() + nd = odict.ODict.from_state(state) assert nd == self.od - nd._load_state(state) + nd.load_state(state) def test_dictToHeader2(self): self.od["one"] = ["uno"] |