

@pytest.fixture
def db(rs_auth):
    key = os.environ.get('REDSHIFT_DB_URI', None)
    if (not rs_auth):
        pytest.skip('Please define a non-empty environment variable called REDSHIFT_DB_URI to test redshift <- S3')
    else:
        return key

dataset/ETHPy150Open blaze/odo/odo/backends/tests/test_s3_redshift.py db/VarMisuse@31/42 `key`->`rs_auth`