Skip to content

Commit 72187d8

Browse files
shollymantseaver
authored andcommitted
BigQuery: update system test to use test data in bigquery-public-data. (#5965)
1 parent a02c4c3 commit 72187d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎tests/system.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,11 @@ def test_get_table_w_public_dataset(self):
321321

322322
def test_list_partitions(self):
323323
table_ref = DatasetReference(
324-
'bigquery-partition-samples',
325-
'samples').table('stackoverflow_comments')
324+
'bigquery-public-data',
325+
'ethereum_blockchain').table('blocks')
326326
all_rows = Config.CLIENT.list_partitions(table_ref)
327-
self.assertIn('20150508', all_rows)
328-
self.assertEquals(2066, len(all_rows))
327+
self.assertIn('20180801', all_rows)
328+
self.assertGreater(len(all_rows), 1000)
329329

330330
def test_list_tables(self):
331331
DATASET_ID = _make_dataset_id('list_tables')

0 commit comments

Comments
 (0)