From 99c18b681dce4fd743bb5faafac8f5e2272c32ac Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Mon, 18 Nov 2024 16:26:29 -0500 Subject: [PATCH] Load all plugins in order to test them --- awx/main/tests/functional/test_inventory_source_injectors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]