MCPcopy
hub / github.com/pika/pika / test_basic_cancel_legacy_parameter

Method test_basic_cancel_legacy_parameter

tests/unit/channel_tests.py:273–277  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

271 self.obj.queue_bind(callback_mock, 'queue', 'exchange')
272
273 def test_basic_cancel_legacy_parameter(self):
274 self.obj._set_state(self.obj.OPEN)
275 callback_mock = mock.Mock()
276 with self.assertRaises(TypeError):
277 self.obj.basic_cancel(callback_mock, 'tag')
278
279 def test_basic_get_legacy_parameter(self):
280 self.obj._set_state(self.obj.OPEN)

Callers

nothing calls this directly

Calls 2

_set_stateMethod · 0.80
basic_cancelMethod · 0.45

Tested by

no test coverage detected