@@ -6046,12 +6046,12 @@ def test_datastream_grpc_lro_async_client():
6046
6046
def test_connection_profile_path ():
6047
6047
project = "squid"
6048
6048
location = "clam"
6049
- connectionProfile = "whelk"
6050
- expected = "projects/{project}/locations/{location}/connectionProfiles/{connectionProfile }" .format (
6051
- project = project , location = location , connectionProfile = connectionProfile ,
6049
+ connection_profile = "whelk"
6050
+ expected = "projects/{project}/locations/{location}/connectionProfiles/{connection_profile }" .format (
6051
+ project = project , location = location , connection_profile = connection_profile ,
6052
6052
)
6053
6053
actual = DatastreamClient .connection_profile_path (
6054
- project , location , connectionProfile
6054
+ project , location , connection_profile
6055
6055
)
6056
6056
assert expected == actual
6057
6057
@@ -6060,7 +6060,7 @@ def test_parse_connection_profile_path():
6060
6060
expected = {
6061
6061
"project" : "octopus" ,
6062
6062
"location" : "oyster" ,
6063
- "connectionProfile " : "nudibranch" ,
6063
+ "connection_profile " : "nudibranch" ,
6064
6064
}
6065
6065
path = DatastreamClient .connection_profile_path (** expected )
6066
6066
@@ -6072,12 +6072,12 @@ def test_parse_connection_profile_path():
6072
6072
def test_private_connection_path ():
6073
6073
project = "cuttlefish"
6074
6074
location = "mussel"
6075
- privateConnection = "winkle"
6076
- expected = "projects/{project}/locations/{location}/privateConnections/{privateConnection }" .format (
6077
- project = project , location = location , privateConnection = privateConnection ,
6075
+ private_connection = "winkle"
6076
+ expected = "projects/{project}/locations/{location}/privateConnections/{private_connection }" .format (
6077
+ project = project , location = location , private_connection = private_connection ,
6078
6078
)
6079
6079
actual = DatastreamClient .private_connection_path (
6080
- project , location , privateConnection
6080
+ project , location , private_connection
6081
6081
)
6082
6082
assert expected == actual
6083
6083
@@ -6086,7 +6086,7 @@ def test_parse_private_connection_path():
6086
6086
expected = {
6087
6087
"project" : "nautilus" ,
6088
6088
"location" : "scallop" ,
6089
- "privateConnection " : "abalone" ,
6089
+ "private_connection " : "abalone" ,
6090
6090
}
6091
6091
path = DatastreamClient .private_connection_path (** expected )
6092
6092
@@ -6098,23 +6098,23 @@ def test_parse_private_connection_path():
6098
6098
def test_route_path ():
6099
6099
project = "squid"
6100
6100
location = "clam"
6101
- privateConnection = "whelk"
6101
+ private_connection = "whelk"
6102
6102
route = "octopus"
6103
- expected = "projects/{project}/locations/{location}/privateConnections/{privateConnection }/routes/{route}" .format (
6103
+ expected = "projects/{project}/locations/{location}/privateConnections/{private_connection }/routes/{route}" .format (
6104
6104
project = project ,
6105
6105
location = location ,
6106
- privateConnection = privateConnection ,
6106
+ private_connection = private_connection ,
6107
6107
route = route ,
6108
6108
)
6109
- actual = DatastreamClient .route_path (project , location , privateConnection , route )
6109
+ actual = DatastreamClient .route_path (project , location , private_connection , route )
6110
6110
assert expected == actual
6111
6111
6112
6112
6113
6113
def test_parse_route_path ():
6114
6114
expected = {
6115
6115
"project" : "oyster" ,
6116
6116
"location" : "nudibranch" ,
6117
- "privateConnection " : "cuttlefish" ,
6117
+ "private_connection " : "cuttlefish" ,
6118
6118
"route" : "mussel" ,
6119
6119
}
6120
6120
path = DatastreamClient .route_path (** expected )
0 commit comments