def test_ping(shared_instance, dbapi_database):
    'Check connection validation method.'
    conn = Connection(shared_instance, dbapi_database)
    conn.validate()
    conn.close()
Check connection validation method.
def test_ping(shared_instance, dbapi_database):
    
    conn = Connection(shared_instance, dbapi_database)
    conn.validate()
    conn.close()