Skip to content

Commit

Permalink
Merge branch 'main' into test_various_snapshot_configs
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Oct 4, 2024
2 parents 5b46fd3 + cb4a953 commit f3ed1f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/functional/schema_tests/test_schema_v2_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,9 @@ def test_hooks_do_run_for_tests(
):
# This passes now that hooks run, a behavior we changed in v1.0
results = run_dbt(["test", "--model", "ephemeral"])
assert len(results) == 1
assert len(results) == 3
for result in results:
assert result.status == "pass"
assert result.status in ("pass", "success")
assert not result.skipped
assert result.failures == 0, "test {} failed".format(result.node.name)

Expand Down Expand Up @@ -505,9 +505,9 @@ def test_these_hooks_dont_run_for_tests(
):
# This would fail if the hooks ran
results = run_dbt(["test", "--model", "ephemeral"])
assert len(results) == 1
assert len(results) == 3
for result in results:
assert result.status == "pass"
assert result.status in ("pass", "success")
assert not result.skipped
assert result.failures == 0, "test {} failed".format(result.node.name)

Expand Down

0 comments on commit f3ed1f1

Please sign in to comment.