@@ -693,7 +693,7 @@ def test_list_endpoints_field_headers():
693
693
# a field header. Set these to a non-empty value.
694
694
request = ids .ListEndpointsRequest ()
695
695
696
- request .parent = "parent/value "
696
+ request .parent = "parent_value "
697
697
698
698
# Mock the actual call within the gRPC stub, and fake the request.
699
699
with mock .patch .object (type (client .transport .list_endpoints ), "__call__" ) as call :
@@ -709,7 +709,7 @@ def test_list_endpoints_field_headers():
709
709
_ , _ , kw = call .mock_calls [0 ]
710
710
assert (
711
711
"x-goog-request-params" ,
712
- "parent=parent/value " ,
712
+ "parent=parent_value " ,
713
713
) in kw ["metadata" ]
714
714
715
715
@@ -723,7 +723,7 @@ async def test_list_endpoints_field_headers_async():
723
723
# a field header. Set these to a non-empty value.
724
724
request = ids .ListEndpointsRequest ()
725
725
726
- request .parent = "parent/value "
726
+ request .parent = "parent_value "
727
727
728
728
# Mock the actual call within the gRPC stub, and fake the request.
729
729
with mock .patch .object (type (client .transport .list_endpoints ), "__call__" ) as call :
@@ -741,7 +741,7 @@ async def test_list_endpoints_field_headers_async():
741
741
_ , _ , kw = call .mock_calls [0 ]
742
742
assert (
743
743
"x-goog-request-params" ,
744
- "parent=parent/value " ,
744
+ "parent=parent_value " ,
745
745
) in kw ["metadata" ]
746
746
747
747
@@ -872,7 +872,7 @@ def test_list_endpoints_pager(transport_name: str = "grpc"):
872
872
873
873
assert pager ._metadata == metadata
874
874
875
- results = [ i for i in pager ]
875
+ results = list ( pager )
876
876
assert len (results ) == 6
877
877
assert all (isinstance (i , ids .Endpoint ) for i in results )
878
878
@@ -1141,7 +1141,7 @@ def test_get_endpoint_field_headers():
1141
1141
# a field header. Set these to a non-empty value.
1142
1142
request = ids .GetEndpointRequest ()
1143
1143
1144
- request .name = "name/value "
1144
+ request .name = "name_value "
1145
1145
1146
1146
# Mock the actual call within the gRPC stub, and fake the request.
1147
1147
with mock .patch .object (type (client .transport .get_endpoint ), "__call__" ) as call :
@@ -1157,7 +1157,7 @@ def test_get_endpoint_field_headers():
1157
1157
_ , _ , kw = call .mock_calls [0 ]
1158
1158
assert (
1159
1159
"x-goog-request-params" ,
1160
- "name=name/value " ,
1160
+ "name=name_value " ,
1161
1161
) in kw ["metadata" ]
1162
1162
1163
1163
@@ -1171,7 +1171,7 @@ async def test_get_endpoint_field_headers_async():
1171
1171
# a field header. Set these to a non-empty value.
1172
1172
request = ids .GetEndpointRequest ()
1173
1173
1174
- request .name = "name/value "
1174
+ request .name = "name_value "
1175
1175
1176
1176
# Mock the actual call within the gRPC stub, and fake the request.
1177
1177
with mock .patch .object (type (client .transport .get_endpoint ), "__call__" ) as call :
@@ -1187,7 +1187,7 @@ async def test_get_endpoint_field_headers_async():
1187
1187
_ , _ , kw = call .mock_calls [0 ]
1188
1188
assert (
1189
1189
"x-goog-request-params" ,
1190
- "name=name/value " ,
1190
+ "name=name_value " ,
1191
1191
) in kw ["metadata" ]
1192
1192
1193
1193
@@ -1363,7 +1363,7 @@ def test_create_endpoint_field_headers():
1363
1363
# a field header. Set these to a non-empty value.
1364
1364
request = ids .CreateEndpointRequest ()
1365
1365
1366
- request .parent = "parent/value "
1366
+ request .parent = "parent_value "
1367
1367
1368
1368
# Mock the actual call within the gRPC stub, and fake the request.
1369
1369
with mock .patch .object (type (client .transport .create_endpoint ), "__call__" ) as call :
@@ -1379,7 +1379,7 @@ def test_create_endpoint_field_headers():
1379
1379
_ , _ , kw = call .mock_calls [0 ]
1380
1380
assert (
1381
1381
"x-goog-request-params" ,
1382
- "parent=parent/value " ,
1382
+ "parent=parent_value " ,
1383
1383
) in kw ["metadata" ]
1384
1384
1385
1385
@@ -1393,7 +1393,7 @@ async def test_create_endpoint_field_headers_async():
1393
1393
# a field header. Set these to a non-empty value.
1394
1394
request = ids .CreateEndpointRequest ()
1395
1395
1396
- request .parent = "parent/value "
1396
+ request .parent = "parent_value "
1397
1397
1398
1398
# Mock the actual call within the gRPC stub, and fake the request.
1399
1399
with mock .patch .object (type (client .transport .create_endpoint ), "__call__" ) as call :
@@ -1411,7 +1411,7 @@ async def test_create_endpoint_field_headers_async():
1411
1411
_ , _ , kw = call .mock_calls [0 ]
1412
1412
assert (
1413
1413
"x-goog-request-params" ,
1414
- "parent=parent/value " ,
1414
+ "parent=parent_value " ,
1415
1415
) in kw ["metadata" ]
1416
1416
1417
1417
@@ -1609,7 +1609,7 @@ def test_delete_endpoint_field_headers():
1609
1609
# a field header. Set these to a non-empty value.
1610
1610
request = ids .DeleteEndpointRequest ()
1611
1611
1612
- request .name = "name/value "
1612
+ request .name = "name_value "
1613
1613
1614
1614
# Mock the actual call within the gRPC stub, and fake the request.
1615
1615
with mock .patch .object (type (client .transport .delete_endpoint ), "__call__" ) as call :
@@ -1625,7 +1625,7 @@ def test_delete_endpoint_field_headers():
1625
1625
_ , _ , kw = call .mock_calls [0 ]
1626
1626
assert (
1627
1627
"x-goog-request-params" ,
1628
- "name=name/value " ,
1628
+ "name=name_value " ,
1629
1629
) in kw ["metadata" ]
1630
1630
1631
1631
@@ -1639,7 +1639,7 @@ async def test_delete_endpoint_field_headers_async():
1639
1639
# a field header. Set these to a non-empty value.
1640
1640
request = ids .DeleteEndpointRequest ()
1641
1641
1642
- request .name = "name/value "
1642
+ request .name = "name_value "
1643
1643
1644
1644
# Mock the actual call within the gRPC stub, and fake the request.
1645
1645
with mock .patch .object (type (client .transport .delete_endpoint ), "__call__" ) as call :
@@ -1657,7 +1657,7 @@ async def test_delete_endpoint_field_headers_async():
1657
1657
_ , _ , kw = call .mock_calls [0 ]
1658
1658
assert (
1659
1659
"x-goog-request-params" ,
1660
- "name=name/value " ,
1660
+ "name=name_value " ,
1661
1661
) in kw ["metadata" ]
1662
1662
1663
1663
0 commit comments