@@ -49,8 +49,8 @@ def test_create_endpoint(self) -> None:
4949 Create Endpoint
5050 """
5151 endpoint_body = CreateWebRtcConnectionRequest (
52- type = EndpointTypeEnum ( "webrtc" ) ,
53- direction = EndpointDirectionEnum ( "inbound" ) ,
52+ type = EndpointTypeEnum . WEBRTC ,
53+ direction = EndpointDirectionEnum . INBOUND ,
5454 event_callback_url = "https://myServer.com/bandwidth/webhooks/endpoint" ,
5555 event_fallback_url = "https://myFallbackServer.com/bandwidth/webhooks/endpoint" ,
5656 tag = "test-endpoint" ,
@@ -120,8 +120,8 @@ def test_list_endpoints_with_filters(self) -> None:
120120 """
121121 response = self .endpoints_api_instance .list_endpoints_with_http_info (
122122 BW_ACCOUNT_ID ,
123- type = EndpointTypeEnum ( "webrtc" ) ,
124- status = EndpointStatusEnum ( "active" ) ,
123+ type = EndpointTypeEnum . WEBRTC ,
124+ status = EndpointStatusEnum . CONNECTED ,
125125 limit = 100
126126 )
127127
@@ -171,8 +171,8 @@ def test_create_endpoint_minimal(self) -> None:
171171 Create Endpoint with Minimal Fields
172172 """
173173 endpoint_body = CreateWebRtcConnectionRequest (
174- type = EndpointTypeEnum ( "webrtc" ) ,
175- direction = EndpointDirectionEnum ( "outbound" )
174+ type = EndpointTypeEnum . WEBRTC ,
175+ direction = EndpointDirectionEnum . OUTBOUND
176176 )
177177 response = self .endpoints_api_instance .create_endpoint_with_http_info (
178178 BW_ACCOUNT_ID ,
@@ -188,8 +188,8 @@ def test_create_endpoint_sip(self) -> None:
188188 Create SIP Endpoint
189189 """
190190 endpoint_body = CreateWebRtcConnectionRequest (
191- type = EndpointTypeEnum ( "sip" ) ,
192- direction = EndpointDirectionEnum ( "bidirectional" ) ,
191+ type = EndpointTypeEnum . WEBRTC ,
192+ direction = EndpointDirectionEnum . BIDIRECTIONAL ,
193193 event_callback_url = "https://myServer.com/bandwidth/webhooks/sip-endpoint" ,
194194 tag = "sip-test-endpoint"
195195 )
0 commit comments