diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:35 +0000 |
commit | 7fec0b69a082aaeec72fee0612766aa42f6b1b4d (patch) | |
tree | efb569b86ca4da888717f5433e757145fa322e08 /ansible_collections/vultr/cloud/tests/unit | |
parent | Releasing progress-linux version 7.7.0+dfsg-3~progress7.99u1. (diff) | |
download | ansible-7fec0b69a082aaeec72fee0612766aa42f6b1b4d.tar.xz ansible-7fec0b69a082aaeec72fee0612766aa42f6b1b4d.zip |
Merging upstream version 9.4.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/vultr/cloud/tests/unit')
-rw-r--r-- | ansible_collections/vultr/cloud/tests/unit/plugins/inventory/test_vultr.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ansible_collections/vultr/cloud/tests/unit/plugins/inventory/test_vultr.py b/ansible_collections/vultr/cloud/tests/unit/plugins/inventory/test_vultr.py index aa8d8fbce..071bf50da 100644 --- a/ansible_collections/vultr/cloud/tests/unit/plugins/inventory/test_vultr.py +++ b/ansible_collections/vultr/cloud/tests/unit/plugins/inventory/test_vultr.py @@ -4,23 +4,22 @@ __metaclass__ = type import json import os.path -import pytest +import ansible_collections.vultr.cloud.plugins.inventory.vultr as module_under_test +import pytest from ansible.errors import AnsibleError, AnsibleParserError from ansible.inventory.data import InventoryData from ansible.parsing.dataloader import DataLoader from ansible.template import Templar - -import ansible_collections.vultr.cloud.plugins.inventory.vultr as module_under_test -from ansible_collections.vultr.cloud.plugins.inventory.vultr import InventoryModule - +from ansible_collections.vultr.cloud.plugins.inventory.vultr import \ + InventoryModule default_options = { "api_endpoint": "https://test.api.vultr.com/v2", "api_key": "TEST_VULTR_API_KEY", "api_results_per_page": 100, "api_timeout": 60, - "attributes": ["id", "region", "label", "plan", "hostname", "main_ip"], + "attributes": ["id", "region", "label", "plan", "hostname", "main_ip", "tags", "internal_ip"], "filters": [], "plugin": "vultr.cloud.vultr", "variable_prefix": "vultr_", |