Merge pull request #1649 from cortesi/kill

Don't call error for flow kill
This commit is contained in:
Maximilian Hils
2016-10-22 19:22:50 -07:00
committed by GitHub
3 changed files with 1 additions and 3 deletions

View File

@@ -165,7 +165,6 @@ class Flow(stateobject.StateObject):
self.reply.take()
self.reply.kill(force=True)
self.reply.commit()
master.error(self)
def intercept(self, master):
"""

View File

@@ -480,7 +480,7 @@ class FlowView(tabs.Tabs):
else:
new_flow, new_idx = self.state.get_prev(idx)
if new_flow is None:
signals.status_message.send(message="No more flows!")
signals.status_message.send(message="No more flows")
else:
signals.pop_view_state.send(self)
self.master.view_flow(new_flow, self.tab_offset)

View File

@@ -104,7 +104,6 @@ class TestHTTPFlow:
assert f.killable
f.kill(fm)
assert not f.killable
assert fm.error.called
assert f.reply.value == Kill
def test_killall(self):