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

Commit 4290a9c

Browse files
committed
Stringify test expected value to adapt to google-api-core changes
1 parent 3768635 commit 4290a9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gapic/ads-templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ def test_{{ method_name }}_rest_required_fields(request_type={{ method.input.ide
12141214
{% if req_field.field_pb.type == 9 %}
12151215
"{{ req_field.field_pb.default_value }}",
12161216
{% else %}
1217-
{{ req_field.type.python_type(req_field.field_pb.default_value or 0) }},
1217+
str({{ req_field.type.python_type(req_field.field_pb.default_value or 0) }}),
12181218
{% endif %}{# default is str #}
12191219
),
12201220
{% endfor %}

0 commit comments

Comments
 (0)