Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

Commit e194569

Browse files
committed
Fix test_graph_server to account for create_bq_client() now taking keyword arguments.
1 parent e18fa8f commit e194569

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/unit/test_graph_server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,9 @@ def test_post_query_from_table(self):
527527
response = requests.post(route, json={"params": json.dumps(params)})
528528
self.assertEqual(response.status_code, 200)
529529

530-
mock_create.assert_called_once_with("p", "e", "l")
530+
mock_create.assert_called_once_with(
531+
project="p", bigquery_api_endpoint="e", location="l"
532+
)
531533
mock_client.list_rows.assert_called_once()
532534

533535
response_data = response.json()["response"]

0 commit comments

Comments
 (0)