1818from bandwidth .models .endpoint_type_enum import EndpointTypeEnum
1919from bandwidth .models .endpoint_direction_enum import EndpointDirectionEnum
2020from bandwidth .models .endpoint_status_enum import EndpointStatusEnum
21- from bandwidth .models .link import Link
2221from bandwidth .exceptions import ApiException
2322from test .utils .env_variables import *
2423
@@ -82,8 +81,7 @@ def listEndpoints(self):
8281 assert_that (response .status_code , equal_to (200 ))
8382 assert_that (response .data , instance_of (ListEndpointsResponse ))
8483 assert_that (response .data .links , instance_of (list ))
85- assert_that (len (response .data .links ), greater_than (0 ))
86- assert_that (response .data .links [0 ], instance_of (Link ))
84+ assert_that (len (response .data .links ), equal_to (0 ))
8785 assert_that (response .data .errors , instance_of (list ))
8886 assert_that (response .data .data , instance_of (list ))
8987 assert_that (len (response .data .data ), greater_than (0 ))
@@ -110,8 +108,7 @@ def getEndpoint(self):
110108 assert_that (response .status_code , equal_to (200 ))
111109 assert_that (response .data , instance_of (EndpointResponse ))
112110 assert_that (response .data .links , instance_of (list ))
113- assert_that (len (response .data .links ), greater_than (0 ))
114- assert_that (response .data .links [0 ], instance_of (Link ))
111+ assert_that (len (response .data .links ), equal_to (0 ))
115112 assert_that (response .data .errors , instance_of (list ))
116113 assert_that (response .data .data , instance_of (Endpoint ))
117114 assert_that (response .data .data , has_properties (
0 commit comments