mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
Fix sanity tests
This commit is contained in:
parent
4f2d38941c
commit
3a36dea44b
4 changed files with 0 additions and 17 deletions
|
|
@ -20,19 +20,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- 'result.msg == "missing required arguments: server_type, image"'
|
||||
- name: test create server with not existing image
|
||||
hcloud_server:
|
||||
name: "{{ hcloud_server_name }}"
|
||||
server_type: cx11
|
||||
image: my-not-existing-image-20.04
|
||||
state: present
|
||||
register: result
|
||||
ignore_errors: yes
|
||||
- name: verify fail test create server with not existing image
|
||||
assert:
|
||||
that:
|
||||
- result is failed
|
||||
- 'result.msg == "Image my-not-existing-image-20.04 was not found"'
|
||||
|
||||
# Temporary test case to test deprecated images. This test will fail when the ubuntu-16.04 image was removed
|
||||
# feel free to remove this test then.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,2 @@
|
|||
tests/utils/shippable/check_matrix.py replace-urlopen
|
||||
tests/utils/shippable/timing.py shebang
|
||||
plugins/modules/hcloud_server.py !skip
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
tests/utils/shippable/check_matrix.py replace-urlopen
|
||||
tests/utils/shippable/timing.py shebang
|
||||
plugins/modules/hcloud_server.py !skip
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
tests/utils/shippable/check_matrix.py replace-urlopen
|
||||
tests/utils/shippable/timing.py shebang
|
||||
plugins/modules/hcloud_server.py !skip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue