@@ -742,7 +742,7 @@ def test_optimize_tours_field_headers():
742
742
# a field header. Set these to a non-empty value.
743
743
request = fleet_routing .OptimizeToursRequest ()
744
744
745
- request .parent = "parent/value "
745
+ request .parent = "parent_value "
746
746
747
747
# Mock the actual call within the gRPC stub, and fake the request.
748
748
with mock .patch .object (type (client .transport .optimize_tours ), "__call__" ) as call :
@@ -758,7 +758,7 @@ def test_optimize_tours_field_headers():
758
758
_ , _ , kw = call .mock_calls [0 ]
759
759
assert (
760
760
"x-goog-request-params" ,
761
- "parent=parent/value " ,
761
+ "parent=parent_value " ,
762
762
) in kw ["metadata" ]
763
763
764
764
@@ -772,7 +772,7 @@ async def test_optimize_tours_field_headers_async():
772
772
# a field header. Set these to a non-empty value.
773
773
request = fleet_routing .OptimizeToursRequest ()
774
774
775
- request .parent = "parent/value "
775
+ request .parent = "parent_value "
776
776
777
777
# Mock the actual call within the gRPC stub, and fake the request.
778
778
with mock .patch .object (type (client .transport .optimize_tours ), "__call__" ) as call :
@@ -790,7 +790,7 @@ async def test_optimize_tours_field_headers_async():
790
790
_ , _ , kw = call .mock_calls [0 ]
791
791
assert (
792
792
"x-goog-request-params" ,
793
- "parent=parent/value " ,
793
+ "parent=parent_value " ,
794
794
) in kw ["metadata" ]
795
795
796
796
@@ -893,7 +893,7 @@ def test_batch_optimize_tours_field_headers():
893
893
# a field header. Set these to a non-empty value.
894
894
request = fleet_routing .BatchOptimizeToursRequest ()
895
895
896
- request .parent = "parent/value "
896
+ request .parent = "parent_value "
897
897
898
898
# Mock the actual call within the gRPC stub, and fake the request.
899
899
with mock .patch .object (
@@ -911,7 +911,7 @@ def test_batch_optimize_tours_field_headers():
911
911
_ , _ , kw = call .mock_calls [0 ]
912
912
assert (
913
913
"x-goog-request-params" ,
914
- "parent=parent/value " ,
914
+ "parent=parent_value " ,
915
915
) in kw ["metadata" ]
916
916
917
917
@@ -925,7 +925,7 @@ async def test_batch_optimize_tours_field_headers_async():
925
925
# a field header. Set these to a non-empty value.
926
926
request = fleet_routing .BatchOptimizeToursRequest ()
927
927
928
- request .parent = "parent/value "
928
+ request .parent = "parent_value "
929
929
930
930
# Mock the actual call within the gRPC stub, and fake the request.
931
931
with mock .patch .object (
@@ -945,7 +945,7 @@ async def test_batch_optimize_tours_field_headers_async():
945
945
_ , _ , kw = call .mock_calls [0 ]
946
946
assert (
947
947
"x-goog-request-params" ,
948
- "parent=parent/value " ,
948
+ "parent=parent_value " ,
949
949
) in kw ["metadata" ]
950
950
951
951
0 commit comments