mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
create enterprise license in tests
This commit is contained in:
@@ -179,7 +179,8 @@ class BaseTestMixin(QueueTestMixin, MockCommonlySlowTestMixin):
|
|||||||
contact_name='AWX Admin',
|
contact_name='AWX Admin',
|
||||||
contact_email='awx@example.com',
|
contact_email='awx@example.com',
|
||||||
license_date=license_date,
|
license_date=license_date,
|
||||||
instance_count=instance_count)
|
instance_count=instance_count,
|
||||||
|
license_type='enterprise')
|
||||||
handle, license_path = tempfile.mkstemp(suffix='.json')
|
handle, license_path = tempfile.mkstemp(suffix='.json')
|
||||||
os.close(handle)
|
os.close(handle)
|
||||||
writer.write_file(license_path)
|
writer.write_file(license_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user