Skip to content

Commit

Permalink
Remove the superfluous test that is causing metadata conflicts for ap…
Browse files Browse the repository at this point in the history
…pend.
  • Loading branch information
VersusFacit committed Sep 27, 2024
1 parent 9628b80 commit a11feac
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions tests/functional/iceberg/test_incremental_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,10 @@ def models(self):
"delete_insert.sql": _MODEL_INCREMENTAL_ICEBERG_DELETE_INSERT,
}

def test_incremental_strategies_build(self, project, setup_class):
run_results = run_dbt()
assert len(run_results) == 4

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

Expand Down

0 comments on commit a11feac

Please sign in to comment.