Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

Commit 0be9d57

Browse files
committed
Fix tests
1 parent 58ac6ab commit 0be9d57

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

tests/unit/bigquery/test_bigquery.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -631,9 +631,7 @@ def test_bigquery_graph_json_json_result(monkeypatch):
631631
display_mock.assert_called()
632632

633633
assert bqstorage_mock.called # BQ storage client was used
634-
assert isinstance(return_value, pandas.DataFrame)
635-
assert len(return_value) == len(result) # verify row count
636-
assert list(return_value) == list(result) # verify column names
634+
assert return_value is None
637635

638636

639637
@pytest.mark.skipif(
@@ -752,9 +750,7 @@ def test_bigquery_graph_json_result(monkeypatch):
752750
assert '\\"location\\": null' in html_content
753751

754752
assert bqstorage_mock.called # BQ storage client was used
755-
assert isinstance(return_value, pandas.DataFrame)
756-
assert len(return_value) == len(result) # verify row count
757-
assert list(return_value) == list(result) # verify column names
753+
assert return_value is None
758754

759755

760756
@pytest.mark.skipif(
@@ -1032,9 +1028,7 @@ def test_bigquery_graph_colab(monkeypatch):
10321028
assert sys.modules["google.colab"].output.register_callback.called
10331029

10341030
assert bqstorage_mock.called # BQ storage client was used
1035-
assert isinstance(return_value, pandas.DataFrame)
1036-
assert len(return_value) == len(result) # verify row count
1037-
assert list(return_value) == list(result) # verify column names
1031+
assert return_value is None
10381032

10391033

10401034
@pytest.mark.skipif(

0 commit comments

Comments
 (0)