1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-03 23:51:48 +00:00

test: server types locations are sorted by id (#717)

##### SUMMARY

Server type locations are sorted by ID. Fix the test to reflect that.
This commit is contained in:
Jonas L. 2025-10-27 11:28:28 +01:00 committed by GitHub
parent 2853e289b0
commit 72ca6df233
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,8 +67,8 @@
- result.hcloud_server_type_info[0].deprecation is not none
- result.hcloud_server_type_info[0].deprecation.announced == '2024-06-06T08:00:00+00:00'
- result.hcloud_server_type_info[0].deprecation.unavailable_after == '2024-09-06T00:00:00+00:00'
- result.hcloud_server_type_info[0].locations[0].id == 2
- result.hcloud_server_type_info[0].locations[0].name == "nbg1"
- result.hcloud_server_type_info[0].locations[0].id == 1
- result.hcloud_server_type_info[0].locations[0].name == "fsn1"
- result.hcloud_server_type_info[0].locations[0].deprecation is not none
- result.hcloud_server_type_info[0].locations[0].deprecation.announced == '2024-06-06T08:00:00+00:00'
- result.hcloud_server_type_info[0].locations[0].deprecation.unavailable_after == '2024-09-06T00:00:00+00:00'