'Test deleting a queue calls purge and delQueue with queue name.'

def test_delete(self):

    mock_queue = Mock()
    self.my_channel._purge = Mock()
    result = self.my_channel._delete(mock_queue)
    self.my_channel._purge.assert_called_with(mock_queue)
    self.mock_broker.delQueue.assert_called_with(mock_queue)
    assert (result is None)
