Skip to content

Commit 1d255f3

Browse files
Load all plugins in order to test them
1 parent 6feb276 commit 1d255f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awx/main/tests/functional/test_inventory_source_injectors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,10 @@ def create_reference_data(source_dir, env, content):
192192
json.dump(env, f, indent=4, sort_keys=True)
193193

194194

195+
@mock.patch('awx_plugins.interfaces._temporary_private_licensing_api.detect_server_product_name', return_value='NOT-AWX')
195196
@pytest.mark.django_db
196197
@pytest.mark.parametrize('this_kind', discover_available_cloud_provider_plugin_names())
197-
def test_inventory_update_injected_content(this_kind, inventory, fake_credential_factory, mock_me):
198+
def test_inventory_update_injected_content(product_name, this_kind, inventory, fake_credential_factory, mock_me):
198199
if this_kind.endswith('_supported'):
199200
this_kind = this_kind[:-10]
200201

0 commit comments

Comments
 (0)