From 16eb7232c3bf8470ca37c5e67d1af7d86b5c7b14 Mon Sep 17 00:00:00 2001 From: Kurt Convey Date: Wed, 19 Aug 2020 09:18:33 -0600 Subject: [PATCH] Check the copy model for failure --- .../022_bigquery_test/test_bigquery_copy_failing_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py b/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py index 8e1999455ce..a3cd8877200 100644 --- a/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py +++ b/test/integration/022_bigquery_test/test_bigquery_copy_failing_models.py @@ -33,4 +33,4 @@ def project_config(self): def test__bigquery_copy_table_fails(self): results = self.run_dbt(expect_pass=False) self.assertEqual(len(results), 2) - self.assertTrue(results[0].error) + self.assertTrue(results[1].error)