We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e41673 commit 4680a97Copy full SHA for 4680a97
packages/gapic-generator/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2
@@ -1293,7 +1293,7 @@ def test_{{ method.name|snake_case }}_rest_flattened(transport: str = 'rest'):
1293
assert len(req.mock_calls) == 1
1294
_, args, _ = req.mock_calls[0]
1295
{% with uri = method.http_options[0].uri %}
1296
- assert path_template.validate("https://{{ service.host }}{{ uri }}", args[1])
+ assert path_template.validate("https://%s{{ uri }}" % client.transport._host, args[1])
1297
{% endwith %}
1298
{# TODO(kbandes) - reverse-transcode request args to check all request fields #}
1299
0 commit comments