Skip to content

Commit e857f42

Browse files
authored
remove link assertions from GETs
1 parent ffc30bf commit e857f42

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/smoke/test_phone_number_lookup_api.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ def test_create_get_async_bulk_lookup(self) -> None:
8282
assert_that(response.data, is_not(none()))
8383
assert_that(response.data, instance_of(GetAsyncBulkLookupResponse))
8484
assert_that(response.data.links, is_not(none()))
85-
assert_that(response.data.links[0], instance_of(LinkSchema))
86-
assert_that(response.data.links[0].rel, instance_of(str))
87-
assert_that(response.data.links[0].href, instance_of(str))
88-
assert_that(response.data.links[0].method, instance_of(str))
8985
assert_that(response.data.data, is_not(none()))
9086
assert_that(response.data.data.request_id, equal_to(request_id))
9187
assert_that(response.data.data.status, instance_of(InProgressLookupStatusEnum))
@@ -110,10 +106,6 @@ def test_create_sync_lookup(self) -> None:
110106
assert_that(response.data, is_not(none()))
111107
assert_that(response.data, instance_of(CreateSyncLookupResponse))
112108
assert_that(response.data.links, is_not(none()))
113-
assert_that(response.data.links[0], instance_of(LinkSchema))
114-
assert_that(response.data.links[0].rel, instance_of(str))
115-
assert_that(response.data.links[0].href, instance_of(str))
116-
assert_that(response.data.links[0].method, instance_of(str))
117109
assert_that(response.data.data, is_not(none()))
118110
assert_that(response.data.data.request_id, instance_of(UUID))
119111
assert_that(response.data.data.status, instance_of(CompletedLookupStatusEnum))

0 commit comments

Comments
 (0)