diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2016-07-23 17:55:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-23 17:55:12 -0700 |
| commit | a87d0895618c2a9e11864af864a0acaea1e2fcdb (patch) | |
| tree | 177ffa9e46c30b70123f5069852145d077892ac0 /test | |
| parent | ea718df111c5416717c875ad47505d4aee08a36f (diff) | |
| parent | f7217b006b13f6a2b712e5ba7f4fcae2d5fc77a3 (diff) | |
| download | mitmproxy-a87d0895618c2a9e11864af864a0acaea1e2fcdb.tar.gz mitmproxy-a87d0895618c2a9e11864af864a0acaea1e2fcdb.tar.bz2 mitmproxy-a87d0895618c2a9e11864af864a0acaea1e2fcdb.zip | |
Merge pull request #1380 from dufferzafar/marked-filter
Marked property and filter
Diffstat (limited to 'test')
| -rw-r--r-- | test/mitmproxy/test_flow.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mitmproxy/test_flow.py b/test/mitmproxy/test_flow.py index 36b212a7..74992130 100644 --- a/test/mitmproxy/test_flow.py +++ b/test/mitmproxy/test_flow.py @@ -615,6 +615,7 @@ class TestSerialize: def test_roundtrip(self): sio = io.BytesIO() f = tutils.tflow() + f.marked = True f.request.content = bytes(bytearray(range(256))) w = flow.FlowWriter(sio) w.add(f) @@ -627,6 +628,7 @@ class TestSerialize: f2 = l[0] assert f2.get_state() == f.get_state() assert f2.request == f.request + assert f2.marked def test_load_flows(self): r = self._treader() |
