Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BentsiLeviav committed Aug 21, 2024
1 parent 936b24e commit e95ad4f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/integration/adapter/incremental/test_schema_change.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def test_fail(self, project, model):
@pytest.mark.parametrize("model", ("schema_change_append", "schema_change_distributed_append"))
def test_append(self, project, model):
if (
model == "schema_change_distributed_append"
and os.environ.get('DBT_CH_TEST_CLUSTER', '').strip() == ''
model == "schema_change_distributed_append"
and os.environ.get('DBT_CH_TEST_CLUSTER', '').strip() == ''
):
pytest.skip("Not on a cluster")
run_dbt(["run", "--select", model])
Expand Down Expand Up @@ -168,8 +168,8 @@ def test_fail(self, project, model):
)
def test_sync(self, project, model):
if (
model == "complex_schema_change_distributed_sync"
and os.environ.get('DBT_CH_TEST_CLUSTER', '').strip() == ''
model == "complex_schema_change_distributed_sync"
and os.environ.get('DBT_CH_TEST_CLUSTER', '').strip() == ''
):
pytest.skip("Not on a cluster")
run_dbt(["run", "--select", model])
Expand Down Expand Up @@ -219,7 +219,10 @@ def models(self):

@pytest.mark.parametrize("model", ("out_of_order_columns", "out_of_order_columns_distributed"))
def test_reordering(self, project, model):
if model == "out_of_order_columns_distributed" and os.environ.get('DBT_CH_TEST_CLUSTER', '').strip() == '':
if (
model == "out_of_order_columns_distributed"
and os.environ.get('DBT_CH_TEST_CLUSTER', '').strip() == ''
):
pytest.skip("Not on a cluster")
run_dbt(["run", "--select", model])
result = project.run_sql(f"select * from {model} order by col_1", fetch="all")
Expand Down

0 comments on commit e95ad4f

Please sign in to comment.