Skip to content

Commit 623f91b

Browse files
partheajreback
authored andcommitted
Fix gbq integration tests so that unique datasets/table names are used for each test (#15009)
1 parent f3714c1 commit 623f91b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pandas/io/tests/test_gbq.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def tearDown(self):
10651065
pass
10661066

10671067
def test_upload_data_as_service_account_with_key_path(self):
1068-
destination_table = DESTINATION_TABLE + "11"
1068+
destination_table = "{0}.{1}".format(DATASET_ID + "2", TABLE_ID + "1")
10691069

10701070
test_size = 10
10711071
df = make_mixed_dataframe_v2(test_size)
@@ -1124,10 +1124,7 @@ def tearDown(self):
11241124
pass
11251125

11261126
def test_upload_data_as_service_account_with_key_contents(self):
1127-
raise nose.SkipTest(
1128-
"flaky test")
1129-
1130-
destination_table = DESTINATION_TABLE + "12"
1127+
destination_table = "{0}.{1}".format(DATASET_ID + "3", TABLE_ID + "1")
11311128

11321129
test_size = 10
11331130
df = make_mixed_dataframe_v2(test_size)

0 commit comments

Comments
 (0)