Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove useless test

  • Loading branch information...
commit acdfdef57fb6b3f84417325c4933c4872e954e15 1 parent 7918e1a
@gmr gmr authored
Showing with 0 additions and 13 deletions.
  1. +0 −13 tests/unit/channel_tests.py
View
13 tests/unit/channel_tests.py
@@ -1010,19 +1010,6 @@ def test_on_cancelok_removed_pending(self):
self.obj._on_cancelok(frame_value)
self.assertNotIn(consumer_tag, self.obj._pending)
- @mock.patch('logging.Logger.debug')
- def test_on_deliver(self, debug):
- consumer_tag = 'ctag0'
- mock_callback = mock.Mock()
- self.obj._pending[consumer_tag] = mock_callback
- method_value = frame.Method(1, spec.Basic.Deliver(consumer_tag, 1))
- header_value = frame.Header(1, 10, spec.BasicProperties())
- body_value = '0123456789'
- self.obj._on_deliver(method_value, header_value, body_value)
- debug.assert_called_with('Called with %r, %r, %r', method_value,
- header_value, body_value)
-
-
def test_on_deliver_pending_called(self):
self.obj._set_state(self.obj.OPEN)
consumer_tag = 'ctag0'

0 comments on commit acdfdef

Please sign in to comment.
Something went wrong with that request. Please try again.