Skip to content

Commit e2e10f4

Browse files
committed
adds magics.context to one more test
1 parent 0c9cc33 commit e2e10f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/test_magics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ def test_bigquery_magic_without_optional_arguments(monkeypatch):
480480
run_query_patch = mock.patch(
481481
"google.cloud.bigquery.magics.magics._run_query", autospec=True
482482
)
483+
magics.context.project = "unit-test-project"
483484
query_job_mock = mock.create_autospec(
484485
google.cloud.bigquery.job.QueryJob, instance=True
485486
)

0 commit comments

Comments
 (0)