Skip to content

Commit

Permalink
test: remove usage of location_path (#58)
Browse files Browse the repository at this point in the history
This resource helper was removed in the 3.0 release.

Co-authored-by: Mike <45373284+munkhuushmgl@users.noreply.github.com>
  • Loading branch information
busunkim96 and munkhuushmgl authored Sep 2, 2020
1 parent 8d2650a commit 252431e
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 @@ -31,12 +31,12 @@ def client():

@pytest.fixture(scope="module")
def parent_inside(client):
return client.location_path(vpcsc_config.project_inside, "us-central1")
return f"projects/{vpcsc_config.project_inside}/locations/us-central1"


@pytest.fixture(scope="module")
def parent_outside(client):
return client.location_path(vpcsc_config.project_outside, "us-central1")
return f"projects/{vpcsc_config.project_outside}/locations/us-central1"


@pytest.fixture(scope="module")
Expand Down

0 comments on commit 252431e

Please sign in to comment.