From 7fec0b69a082aaeec72fee0612766aa42f6b1b4d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:35 +0200 Subject: Merging upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- .../vultr/cloud/tests/unit/plugins/inventory/test_vultr.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ansible_collections/vultr/cloud/tests/unit/plugins') 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_", -- cgit v1.2.3