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

refactor: rename ansible module classes (#284)

* refactor: rename Hcloud class to AnsibleHCloud

* refactor: rename AnsibleHCloud* modules

* refactor: remove Hcloud deprecation wrapper
This commit is contained in:
Jonas L 2023-08-04 09:24:14 +02:00 committed by GitHub
parent 13868c364b
commit a0e91d942a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 127 additions and 127 deletions

View file

@ -2,7 +2,7 @@ import traceback
from datetime import datetime, timezone
from unittest.mock import MagicMock
from ansible_collections.hetzner.hcloud.plugins.module_utils.hcloud import Hcloud
from ansible_collections.hetzner.hcloud.plugins.module_utils.hcloud import AnsibleHCloud
from ansible_collections.hetzner.hcloud.plugins.module_utils.vendor.hcloud import (
APIException,
)
@ -21,7 +21,7 @@ def test_hcloud_fail_json_hcloud():
"endpoint": "https://api.hetzner.cloud/v1",
}
hcloud = Hcloud(module, "hcloud_test")
hcloud = AnsibleHCloud(module, "hcloud_test")
try:
raise APIException(