diff options
Diffstat (limited to 'test/test_flow.py')
-rw-r--r-- | test/test_flow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_flow.py b/test/test_flow.py index 085801af..68aa14cd 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -600,7 +600,7 @@ class TestFlowMaster: s = flow.State() fm = flow.FlowMaster(None, s) f = tutils.tflow_full() - fm.load_flow(f) + f = fm.load_flow(f) assert s.flow_count() == 1 f2 = fm.duplicate_flow(f) assert f2.response @@ -742,7 +742,7 @@ class TestFlowMaster: with tutils.tmpdir() as tdir: p = os.path.join(tdir, "foo") def r(): - r = flow.FlowReader(open(p)) + r = flow.FlowReader(open(p,"rb")) return list(r.stream()) s = flow.State() |