'if connection isn\'t closing _on_close_ready should not be called'

@mock.patch('pika.connection.Connection._on_close_ready')
def test_on_channel_cleanup_non_closing_state(self, on_close_ready):

    self.connection._on_channel_cleanup(mock.Mock())
    self.assertFalse(on_close_ready.called, '_on_close_ready    should    not    have    been    called')
