mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-24 08:51:48 -05:00
Add test license for ec2 import to make jerkins happy.
This commit is contained in:
@@ -1434,6 +1434,7 @@ class InventoryUpdatesTest(BaseTransactionTest):
|
|||||||
source_regions = getattr(settings, 'TEST_AWS_REGIONS', 'all')
|
source_regions = getattr(settings, 'TEST_AWS_REGIONS', 'all')
|
||||||
if not all([source_username, source_password]):
|
if not all([source_username, source_password]):
|
||||||
self.skipTest('no test ec2 credentials defined!')
|
self.skipTest('no test ec2 credentials defined!')
|
||||||
|
self.create_test_license_file()
|
||||||
credential = Credential.objects.create(kind='aws',
|
credential = Credential.objects.create(kind='aws',
|
||||||
user=self.super_django_user,
|
user=self.super_django_user,
|
||||||
username=source_username,
|
username=source_username,
|
||||||
|
|||||||
Reference in New Issue
Block a user