Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1716,12 +1716,14 @@ def test_prediction_client_credentials(self):
def test_prediction_client_client_info(self):
credentials_mock = mock.Mock()
client_info_mock = mock.Mock()
client_mock = mock.Mock()
patch_prediction_client = mock.patch(
"google.cloud.automl_v1beta1.services.tables.tables_client.PredictionServiceClient"
)
with patch_prediction_client as MockPredictionClient:
automl_v1beta1.TablesClient(
credentials=credentials_mock,
client=client_mock,
client_info=client_info_mock,
)
_, prediction_client_kwargs = MockPredictionClient.call_args
Expand Down
Loading