From 924273f5892768270b8c7f38e6674f72641b5eff Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Thu, 27 Aug 2020 19:05:40 -0400 Subject: [PATCH] more get_ansible_version test failure fixes --- awx/main/tests/functional/models/test_inventory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/tests/functional/models/test_inventory.py b/awx/main/tests/functional/models/test_inventory.py index 2b3c747868..04b92d5a1d 100644 --- a/awx/main/tests/functional/models/test_inventory.py +++ b/awx/main/tests/functional/models/test_inventory.py @@ -255,7 +255,7 @@ class TestInventorySourceInjectors: are named correctly, because Ansible will reject files that do not have these exact names """ - injector = InventorySource.injectors[source]('2.7.7') + injector = InventorySource.injectors[source]() assert injector.filename == filename @pytest.mark.parametrize('source,proper_name', [ @@ -269,7 +269,7 @@ class TestInventorySourceInjectors: ('tower', 'awx.awx.tower'), ]) def test_plugin_proper_names(self, source, proper_name): - injector = InventorySource.injectors[source]('2.9') + injector = InventorySource.injectors[source]() assert injector.get_proper_name() == proper_name