You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/01/28 19:49:04 UTC

[airflow] branch master updated: Fix BQ hook system test (#13944)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new acc9da9  Fix BQ hook system test (#13944)
acc9da9 is described below

commit acc9da9ab2488101e02ab5d187d3f2bcbfed547a
Author: Tobiasz Kędzierski <to...@polidea.com>
AuthorDate: Thu Jan 28 20:48:54 2021 +0100

    Fix BQ hook system test (#13944)
---
 tests/providers/google/cloud/hooks/test_bigquery_system.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/providers/google/cloud/hooks/test_bigquery_system.py b/tests/providers/google/cloud/hooks/test_bigquery_system.py
index 4cfaa60..e1bc4d4 100644
--- a/tests/providers/google/cloud/hooks/test_bigquery_system.py
+++ b/tests/providers/google/cloud/hooks/test_bigquery_system.py
@@ -17,17 +17,16 @@
 # under the License.
 """System tests for Google BigQuery hooks"""
 
-import unittest
-
 import pytest
 
 from airflow.providers.google.cloud.hooks import bigquery as hook
 from tests.providers.google.cloud.utils.gcp_authenticator import GCP_BIGQUERY_KEY
+from tests.test_utils.gcp_system_helpers import GoogleSystemTest
 
 
 @pytest.mark.system("google.cloud")
 @pytest.mark.credential_file(GCP_BIGQUERY_KEY)
-class BigQueryDataframeResultsSystemTest(unittest.TestCase):
+class BigQueryDataframeResultsSystemTest(GoogleSystemTest):
     def setUp(self):
         self.instance = hook.BigQueryHook()