Skip to content

Commit 32cd996

Browse files
authored
Update tests/unit/gapic/bigquery_v2/test_centralized_service.py
1 parent 2209257 commit 32cd996

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/unit/gapic/bigquery_v2/test_centralized_service.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,14 @@ def test_list_jobs(self, mock_job_service_client_class):
247247
class TestCentralizedClientModelService:
248248
def test_get_model(self, mock_model_service_client_class):
249249
# Arrange
250+
expected_model = model.Model(
251+
etag=DEFAULT_ETAG,
252+
model_reference={
253+
"project_id": PROJECT_ID,
254+
"dataset_id": DATASET_ID,
255+
"model_id": MODEL_ID,
256+
},
257+
)
250258
mock_instance = mock_model_service_client_class.return_value
251259
mock_instance.get_model.return_value = expected_model
252260
get_model_request = model.GetModelRequest(

0 commit comments

Comments
 (0)