We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ac9c0d commit de313e9Copy full SHA for de313e9
1 file changed
integration_tests/tests/test_dbt_artifacts/test_groups.py
@@ -56,12 +56,11 @@ def print_dbt_log_tail(n=40):
56
57
def run_dbt_and_check(cmd, *args, **kwargs):
58
result = cmd(*args, **kwargs)
59
+ print_dbt_log_tail() # Always print log tail
60
# If result is a dict or object, check for success
61
if hasattr(result, "success") and not result.success:
- print_dbt_log_tail()
62
assert False, f"dbt command failed: {result}"
63
elif isinstance(result, dict) and not result.get("success", True):
64
65
66
# If result is None, rely on downstream assertions
67
return result
0 commit comments