1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

test: do not check error messages meant for humans (#540)

##### SUMMARY

Reduce tests flakiness, as human error messages may change over time.
This commit is contained in:
Jonas L. 2024-08-01 16:09:11 +02:00 committed by GitHub
parent ee09398b85
commit 4bfd063fca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 0 additions and 14 deletions

View file

@ -316,7 +316,6 @@
that:
- result is failed
- result.failure.code == "protected"
- result.failure.message == "server deletion is protected"
- name: test rebuild server fails if it is protected
hetzner.hcloud.server:
@ -330,7 +329,6 @@
that:
- result is failed
- result.failure.code == "protected"
- result.failure.message == "server rebuild is protected"
- name: test remove server protection
hetzner.hcloud.server:
@ -588,7 +586,6 @@
that:
- result is failed
- result.failure.code == "protected"
- result.failure.message == "server deletion is protected"
- name: remove protection from server
hetzner.hcloud.server:

View file

@ -14,7 +14,6 @@
that:
- result is failed
- result.failure.code == "not_found"
- result.failure.message == "firewall not-existing was not found"
- name: setup create firewalls
hetzner.hcloud.firewall:

View file

@ -35,7 +35,6 @@
that:
- result is failed
- result.failure.code == "not_found"
- result.failure.message == "server_type not-existing-server-type was not found"
- name: test create server with not existing image
hetzner.hcloud.server:
@ -50,4 +49,3 @@
that:
- result is failed
- result.failure.code == "not_found"
- result.failure.message == "Image my-not-existing-image-20.04 was not found"