mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
test: fix AnsibleHCloud module unit tests (#337)
##### SUMMARY We had a race condition between 2 Pull Requests (#336 and #325) and everything didn't go through the test pipeline. Fixing it now.
This commit is contained in:
parent
9a44bc260f
commit
f47e49c132
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ def test_hcloud_fail_json_hcloud():
|
|||
"api_token": "fake_token",
|
||||
"endpoint": "https://api.hetzner.cloud/v1",
|
||||
}
|
||||
|
||||
hcloud = AnsibleHCloud(module, "hcloud_test")
|
||||
AnsibleHCloud.represent = "hcloud_test"
|
||||
hcloud = AnsibleHCloud(module)
|
||||
|
||||
try:
|
||||
raise APIException(
|
||||
|
|
Loading…
Reference in a new issue