aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_flow.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_flow.py')
-rw-r--r--test/test_flow.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/test_flow.py b/test/test_flow.py
index 4dfa059e..7db564b2 100644
--- a/test/test_flow.py
+++ b/test/test_flow.py
@@ -27,10 +27,6 @@ class uFlow(libpry.AutoTree):
f.request = f.response.request
assert not f.match(filt.parse("~b test"))
- def test_dump(self):
- f = utils.tflow()
- assert f.dump()
-
def test_backup(self):
f = utils.tflow()
f.response = utils.tresp()
@@ -237,9 +233,10 @@ class uState(libpry.AutoTree):
self._add_response(c)
self._add_error(c)
- dump = c.dump_flows()
+ flows = c.view[:]
c.clear()
- c.load_flows(dump)
+
+ c.load_flows(flows)
assert isinstance(c.flow_list[0], flow.Flow)
def test_accept_all(self):