def test_simple_blocking_test(self, project):
        """Ensure that a failed test on model_a always blocks model_b"""
        results = run_dbt(["build"], expect_pass=False)
        actual = [r.status for r in results]
        expected = ["success", "fail", "skipped"]
        assert sorted(actual) == sorted(expected)
Ensure that a failed test on model_a always blocks model_b
tests/functional/build_command/test_build.py