mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-17 04:08:37 -05:00
AC-505 Initial inventory import models and API support.
This commit is contained in:
@@ -575,8 +575,8 @@ class InventoryImportTest(BaseCommandMixin, BaseLiveServerTest):
|
||||
#os.environ.setdefault('REST_API_TOKEN',
|
||||
# self.super_django_user.auth_token.key)
|
||||
os.environ['INVENTORY_ID'] = str(old_inv.pk)
|
||||
source = os.path.join(os.path.dirname(__file__), '..', '..', 'scripts',
|
||||
'inventory.py')
|
||||
source = os.path.join(os.path.dirname(__file__), '..', '..', 'plugins',
|
||||
'inventory', 'awx.py')
|
||||
result, stdout, stderr = self.run_command('inventory_import',
|
||||
inventory_id=new_inv.pk,
|
||||
source=source)
|
||||
|
||||
Reference in New Issue
Block a user