Skip to content

Commit

Permalink
if staging is not used, don't test it
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaFaer committed May 13, 2024
1 parent f8b99dd commit 10672fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/load/pipeline/test_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ def table_3(make_data=False):

job_client, _ = pipeline._get_destination_clients(schema)

if isinstance(job_client, WithStagingDataset):
if destination_config.staging and isinstance(job_client, WithStagingDataset):
with pipeline.sql_client() as client:
for i in range(1, 4):
table_name = f"table_{i}"
Expand Down

0 comments on commit 10672fd

Please sign in to comment.