Skip to content

Commit 3fa0764

Browse files
committed
Update assertion in createEndpoint test to expect zero links in response
1 parent e460ab8 commit 3fa0764

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/smoke/test_endpoints_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ def createEndpoint(self):
5656
assert_that(response.status_code, equal_to(201))
5757
assert_that(response.data, instance_of(CreateEndpointResponse))
5858
assert_that(response.data.links, instance_of(list))
59-
assert_that(len(response.data.links), greater_than(0))
60-
assert_that(response.data.links[0], instance_of(Link))
59+
assert_that(len(response.data.links), equal_to(0))
6160
assert_that(response.data.errors, instance_of(list))
6261
assert_that(response.data.data, instance_of(CreateEndpointResponseData))
6362
assert_that(response.data.data, has_properties(

0 commit comments

Comments
 (0)