summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Meyers <chris.meyers.fsu@gmail.com>2024-11-18 22:26:29 +0100
committerChris Meyers <chrismeyersfsu@users.noreply.github.com>2024-12-10 19:02:09 +0100
commit99c18b681dce4fd743bb5faafac8f5e2272c32ac (patch)
tree9ff178752ee0db97f5ecae52bc38fd1c6f7fdc15
parentRename post_injectors to custom_injectors (diff)
downloadawx-99c18b681dce4fd743bb5faafac8f5e2272c32ac.tar.xz
awx-99c18b681dce4fd743bb5faafac8f5e2272c32ac.zip
Load all plugins in order to test them
-rw-r--r--awx/main/tests/functional/test_inventory_source_injectors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/awx/main/tests/functional/test_inventory_source_injectors.py b/awx/main/tests/functional/test_inventory_source_injectors.py
index 83d9360ff5..c7ab3d440c 100644
--- a/awx/main/tests/functional/test_inventory_source_injectors.py
+++ b/awx/main/tests/functional/test_inventory_source_injectors.py
@@ -192,9 +192,10 @@ def create_reference_data(source_dir, env, content):
json.dump(env, f, indent=4, sort_keys=True)
+@mock.patch('awx_plugins.interfaces._temporary_private_licensing_api.detect_server_product_name', return_value='NOT-AWX')
@pytest.mark.django_db
@pytest.mark.parametrize('this_kind', discover_available_cloud_provider_plugin_names())
-def test_inventory_update_injected_content(this_kind, inventory, fake_credential_factory, mock_me):
+def test_inventory_update_injected_content(product_name, this_kind, inventory, fake_credential_factory, mock_me):
if this_kind.endswith('_supported'):
this_kind = this_kind[:-10]