Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 5d59562

Browse files
committed
add replacements to owlbot.py
1 parent 3e04799 commit 5d59562

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

owlbot.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,14 @@ def get_staging_dirs(
177177
)"""
178178
)
179179

180+
assert 1 == s.replace(
181+
library / "tests/unit/gapic/spanner_v1/test_spanner.py",
182+
"""api_audience="https://language.googleapis.com"\n(\s+)\)""",
183+
"""api_audience="https://language.googleapis.com",
184+
metrics_interceptor=mock.ANY,
185+
)"""
186+
)
187+
180188
s.move(
181189
library,
182190
excludes=[

tests/unit/gapic/spanner_v1/test_spanner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ def test_spanner_client_client_options(client_class, transport_class, transport_
587587
client_info=transports.base.DEFAULT_CLIENT_INFO,
588588
always_use_jwt_access=True,
589589
api_audience="https://language.googleapis.com",
590+
metrics_interceptor=mock.ANY,
590591
)
591592

592593

0 commit comments

Comments
 (0)