Skip to content

Commit

Permalink
Updated test to make sure that tags are cleared on graceful shutdwon
Browse files Browse the repository at this point in the history
  • Loading branch information
eandersson committed Feb 11, 2017
1 parent d173d1e commit f8832c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions amqpstorm/tests/unit/channel/channel_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ def on_close_ok(_, frame_out):
def test_channel_close_gracefully_with_queued_error(self):
def on_close_ok(_, frame_out):
if isinstance(frame_out, specification.Basic.Cancel):
channel.rpc.on_frame(specification.Basic.CancelOk())
return
raise AMQPChannelError("travis-ci")
channel.rpc.on_frame(specification.Channel.CloseOk())

channel = Channel(0, FakeConnection(on_write=on_close_ok), 360)
Expand Down

0 comments on commit f8832c5

Please sign in to comment.