Skip to content

Commit

Permalink
#120 Enabled all tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed Jul 1, 2024
1 parent 862f570 commit ac81a99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/database_connection_fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _open_pyexasol_connection(**kwargs) -> pyexasol.ExaConnection:
compression=True)


@pytest.fixture(scope='session', params=[bfs.path.StorageBackend.saas])
@pytest.fixture(scope='session', params=[bfs.path.StorageBackend.onprem, bfs.path.StorageBackend.saas])
def backend(request) -> bfs.path.StorageBackend:
# Here we are going to add
# pytest.skip()
Expand Down
3 changes: 2 additions & 1 deletion tests/integration_tests/test_exporting_to_localstack_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ def get_comparison_query(import_table_name):

def test_export_table(backend, get_database_conn, s3_client):
if backend != bfs.path.StorageBackend.onprem:
pytest.skip('The test can only run locally')
pytest.skip(("The test can only run locally, because "
"localstack is running locally and SaaS can't access it.'"))

db_conn = get_database_conn
create_s3_bucket(s3_client)
Expand Down

0 comments on commit ac81a99

Please sign in to comment.