From 27747746f83db54fcbb57edbc78c635b35b01c38 Mon Sep 17 00:00:00 2001 From: Kenneth Bandes Date: Fri, 10 Dec 2021 20:03:12 +0000 Subject: [PATCH] fix: fix case for expected field names in required fields test. --- .../tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 b/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 index e1932e462f..fdcec0eeaa 100644 --- a/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 +++ b/gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2 @@ -1323,7 +1323,7 @@ def test_{{ method_name }}_rest_required_fields(request_type={{ method.input.ide expected_params = [ {% for req_field in method.input.required_fields if req_field.is_primitive %} ( - "{{ req_field.name }}", + "{{ req_field.name | camel_case }}", {% if req_field.field_pb.default_value is string %} "{{ req_field.field_pb.default_value }}", {% else %}