mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
AC-556 Renamed inventory script filename used for import_import command test.
This commit is contained in:
@@ -704,7 +704,7 @@ class InventoryImportTest(BaseCommandMixin, BaseLiveServerTest):
|
|||||||
os.environ.setdefault('REST_API_URL', rest_api_url)
|
os.environ.setdefault('REST_API_URL', rest_api_url)
|
||||||
os.environ['INVENTORY_ID'] = str(old_inv.pk)
|
os.environ['INVENTORY_ID'] = str(old_inv.pk)
|
||||||
source = os.path.join(os.path.dirname(__file__), '..', '..', 'plugins',
|
source = os.path.join(os.path.dirname(__file__), '..', '..', 'plugins',
|
||||||
'inventory', 'awx.py')
|
'inventory', 'awxrest.py')
|
||||||
result, stdout, stderr = self.run_command('inventory_import',
|
result, stdout, stderr = self.run_command('inventory_import',
|
||||||
inventory_id=new_inv.pk,
|
inventory_id=new_inv.pk,
|
||||||
source=source)
|
source=source)
|
||||||
|
|||||||
Reference in New Issue
Block a user