Skip to content

Commit

Permalink
Last bit of cleanup per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Sep 26, 2024
1 parent 20fa7dd commit e74aca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/iceberg/test_incremental_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from pathlib import Path

from dbt.tests.util import run_dbt, run_dbt_and_capture

from dbt.tests.util import run_dbt, run_dbt_and_capture, rm_file, write_file

_SEED_INCREMENTAL_STRATEGIES = """
world_id,world_name,boss
Expand Down Expand Up @@ -86,7 +86,7 @@ def test_incremental_strategies_build(self, project, setup_class):
assert len(run_results) == 4

def __check_correct_operations(self, model_name, /, rows_affected, status="SUCCESS"):
run_results, stdout = run_dbt_and_capture(
run_results = run_dbt(
["show", "--inline", f"select * from {{{{ ref('{model_name}') }}}} where world_id = 4"]
)
assert run_results[0].adapter_response["rows_affected"] == rows_affected
Expand Down

0 comments on commit e74aca2

Please sign in to comment.