Skip to content

Commit

Permalink
test: fix broken vpcsc tests (#65)
Browse files Browse the repository at this point in the history
* test_vpcsc.test_batch_translate_text_w_outside
* test_vpcsc.test_list_glossaries_w_inside
  • Loading branch information
busunkim96 authored Sep 10, 2020
1 parent 85823e4 commit 4f48bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-translate/tests/system/test_vpcsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_create_glossary_w_outside(client, parent_outside, glossary_outside):

@vpcsc_config.skip_unless_inside_vpcsc
def test_list_glossaries_w_inside(client, parent_inside):
list(client.list_glossaries(parent_inside))
list(client.list_glossaries(parent=parent_inside))


@vpcsc_config.skip_unless_inside_vpcsc
Expand Down Expand Up @@ -161,7 +161,7 @@ def test_batch_translate_text_w_outside(client, parent_outside):
with pytest.raises(exceptions.PermissionDenied) as exc:
client.batch_translate_text(
request={
"parent": parent_inside,
"parent": parent_outside,
"source_language_code": source_language_code,
"target_language_codes": target_language_codes,
"input_configs": input_configs,
Expand Down

0 comments on commit 4f48bbd

Please sign in to comment.