'Ensure that conns are returned back to the pool when requests are
closed.'

def test_free_connection(self):

    kah = self.kahdler
    conn = self.conn
    conn_mgr = Mock()
    conn_mgr.free_connection = MagicMock()
    kah._cm = conn_mgr
    kah._request_closed(conn)
    conn_mgr.free_connection.assert_called_once_with(conn)
