Permalink
Browse files

Remove the deprecated test

  • Loading branch information...
1 parent aecf3f2 commit bb583bf908b50d6d6366eed9e1430af0e2e10a12 @gmr gmr committed May 14, 2014
Showing with 0 additions and 10 deletions.
  1. +0 −10 tests/unit/channel_tests.py
@@ -1022,16 +1022,6 @@ def test_on_deliver(self, debug):
debug.assert_called_with('Called with %r, %r, %r', method_value,
header_value, body_value)
- def test_on_deliver_cancelled(self):
- self.obj._set_state(self.obj.OPEN)
- consumer_tag = 'ctag0'
- self.obj._cancelled = [consumer_tag]
- method_value = frame.Method(1, spec.Basic.Deliver(consumer_tag, 1))
- header_value = frame.Header(1, 10, spec.BasicProperties())
- body_value = '0123456789'
- with mock.patch.object(self.obj, 'basic_reject') as basic_reject:
- self.obj._on_deliver(method_value, header_value, body_value)
- basic_reject.assert_called_with(method_value.method.delivery_tag)
def test_on_deliver_pending_called(self):
self.obj._set_state(self.obj.OPEN)

0 comments on commit bb583bf

Please sign in to comment.