Skip to content

Commit 596f569

Browse files
fix: assertion
1 parent 38e4d35 commit 596f569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sc/test_hosts.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ def test_hosts_list_success_for_fields(security_center):
1616
testing hosts list success for fields
1717
"""
1818
hosts = security_center.hosts.list(
19-
fields=['id', 'uuid', 'tenableUUID', 'name', 'ipAddress'],
19+
fields=['id', 'name', 'uuid', 'tenableUUID', 'ipAddress'],
2020
)
2121
assert isinstance(hosts, list)
2222
for host in hosts:
2323
check(host, 'id', str)
24+
check(host, 'name', str)
2425
check(host, 'uuid', str)
2526
check(host, 'tenableUUID', str)
26-
check(host, 'name', str)
2727
check(host, 'ipAddress', str)
2828

2929
@pytest.mark.vcr()

0 commit comments

Comments
 (0)