Skip to content

Commit

Permalink
Use the dry_run in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
delfick committed May 30, 2016
1 parent 24d7775 commit 7b852b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gcloud/bigquery/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ def test_run_w_alternate_client(self):
query.preserve_nulls = True
query.timeout_ms = 20000
query.use_query_cache = False
query.dry_run = True

query.run(client=client2)

Expand All @@ -220,6 +221,7 @@ def test_run_w_alternate_client(self):
'projectId': self.PROJECT,
'datasetId': DATASET,
},
'dryRun': True,
'maxResults': 100,
'preserveNulls': True,
'timeoutMs': 20000,
Expand Down

0 comments on commit 7b852b4

Please sign in to comment.