Skip to content

Commit 9931c44

Browse files
committed
skip tests for big query
1 parent 4895912 commit 9931c44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

connectorx-python/connectorx/tests/test_bigquery.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ def test_bigquery_with_partition_without_partition_range(bigquery_url: str) -> N
8181
assert_frame_equal(df, expected, check_names=True)
8282

8383

84+
@pytest.mark.skipif(
85+
not os.environ.get("BIGQUERY_URL"),
86+
reason="Test bigquery only when `BIGQUERY_URL` is set",
87+
)
8488
def test_bigquery_manual_partition(bigquery_url: str) -> None:
8589
queries = [
8690
"select * from `dataprep-bigquery.dataprep.test_table` where test_int < 2 order by test_int",
@@ -149,7 +153,7 @@ def test_bigquery_types(bigquery_url: str) -> None:
149153
expected = pd.DataFrame(
150154
index=range(3),
151155
data={
152-
"test_int": pd.Series([1, 2,None], dtype="Int64"),
156+
"test_int": pd.Series([1, 2, None], dtype="Int64"),
153157
"test_numeric": pd.Series([1.23, 234.56, None], dtype="float"),
154158
"test_bool": pd.Series([True, None, False], dtype="boolean"),
155159
"test_date": pd.Series(

0 commit comments

Comments
 (0)