@@ -253,6 +253,7 @@ def test_generate_bq_schema_deprecated():
253
253
gbq .generate_bq_schema (df )
254
254
255
255
256
+ @pytest .mark .single
256
257
class TestGBQConnectorIntegrationWithLocalUserAccountAuth (tm .TestCase ):
257
258
258
259
def setUp (self ):
@@ -298,6 +299,7 @@ def test_get_application_default_credentials_returns_credentials(self):
298
299
self .assertTrue (isinstance (credentials , GoogleCredentials ))
299
300
300
301
302
+ @pytest .mark .single
301
303
class TestGBQConnectorIntegrationWithServiceAccountKeyPath (tm .TestCase ):
302
304
def setUp (self ):
303
305
_setup_common ()
@@ -329,6 +331,7 @@ def test_should_be_able_to_get_results_from_query(self):
329
331
self .assertTrue (pages is not None )
330
332
331
333
334
+ @pytest .mark .single
332
335
class TestGBQConnectorIntegrationWithServiceAccountKeyContents (tm .TestCase ):
333
336
def setUp (self ):
334
337
_setup_common ()
@@ -360,6 +363,7 @@ def test_should_be_able_to_get_results_from_query(self):
360
363
self .assertTrue (pages is not None )
361
364
362
365
366
+ @pytest .mark .single
363
367
class GBQUnitTests (tm .TestCase ):
364
368
365
369
def setUp (self ):
@@ -446,6 +450,7 @@ def test_read_gbq_with_corrupted_private_key_json_should_fail(self):
446
450
private_key = re .sub ('[a-z]' , '9' , _get_private_key_contents ()))
447
451
448
452
453
+ @pytest .mark .single
449
454
class TestReadGBQIntegration (tm .TestCase ):
450
455
451
456
@classmethod
@@ -499,6 +504,7 @@ def test_should_read_as_service_account_with_key_contents(self):
499
504
tm .assert_frame_equal (df , DataFrame ({'valid_string' : ['PI' ]}))
500
505
501
506
507
+ @pytest .mark .single
502
508
class TestReadGBQIntegrationWithServiceAccountKeyPath (tm .TestCase ):
503
509
504
510
@classmethod
@@ -901,6 +907,7 @@ def test_configuration_without_query(self):
901
907
configuration = config )
902
908
903
909
910
+ @pytest .mark .single
904
911
class TestToGBQIntegrationWithServiceAccountKeyPath (tm .TestCase ):
905
912
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
906
913
# As a workaround to this issue, each test should use a unique table name.
@@ -1215,6 +1222,7 @@ def test_dataset_does_not_exist(self):
1215
1222
DATASET_ID + "_not_found" ), 'Expected dataset not to exist' )
1216
1223
1217
1224
1225
+ @pytest .mark .single
1218
1226
class TestToGBQIntegrationWithLocalUserAccountAuth (tm .TestCase ):
1219
1227
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
1220
1228
# As a workaround to this issue, each test should use a unique table name.
@@ -1272,6 +1280,7 @@ def test_upload_data(self):
1272
1280
self .assertEqual (result ['num_rows' ][0 ], test_size )
1273
1281
1274
1282
1283
+ @pytest .mark .single
1275
1284
class TestToGBQIntegrationWithServiceAccountKeyContents (tm .TestCase ):
1276
1285
# Changes to BigQuery table schema may take up to 2 minutes as of May 2015
1277
1286
# As a workaround to this issue, each test should use a unique table name.
0 commit comments