mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
test: fix type casting for ansible-core 2.19 (devel) (#630)
##### SUMMARY Related to #627 String casting seem not needed anymore, I assume because native type are now preserved.
This commit is contained in:
parent
9b119fa958
commit
a041bee1b3
1 changed files with 2 additions and 1 deletions
|
|
@ -87,7 +87,8 @@
|
|||
- result.hcloud_subnetwork.network_zone == hcloud_network_zone_name
|
||||
- result.hcloud_subnetwork.type == "vswitch"
|
||||
- result.hcloud_subnetwork.ip_range == "10.0.1.0/24"
|
||||
- result.hcloud_subnetwork.vswitch_id | string == test_vswitch_id
|
||||
# Type casting can be removed once ansible-core < 2.19 is dropped
|
||||
- result.hcloud_subnetwork.vswitch_id == test_vswitch_id | int
|
||||
|
||||
- name: Test delete with vswitch
|
||||
hetzner.hcloud.subnetwork:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue