diff --git a/awx/main/tests/commands.py b/awx/main/tests/commands.py index cbe123e302..57c2e40514 100644 --- a/awx/main/tests/commands.py +++ b/awx/main/tests/commands.py @@ -704,7 +704,7 @@ class InventoryImportTest(BaseCommandMixin, BaseLiveServerTest): os.environ.setdefault('REST_API_URL', rest_api_url) os.environ['INVENTORY_ID'] = str(old_inv.pk) source = os.path.join(os.path.dirname(__file__), '..', '..', 'plugins', - 'inventory', 'awx.py') + 'inventory', 'awxrest.py') result, stdout, stderr = self.run_command('inventory_import', inventory_id=new_inv.pk, source=source)