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:
parent
13868c364b
commit
a0e91d942a
33 changed files with 127 additions and 127 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue