Skip to content

Commit 252431e

Browse files
test: remove usage of location_path (#58)
This resource helper was removed in the 3.0 release. Co-authored-by: Mike <45373284+munkhuushmgl@users.noreply.github.com>
1 parent 8d2650a commit 252431e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/google-cloud-translate/tests/system/test_vpcsc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ def client():
3131

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

3636

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

4141

4242
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)