mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
Try to clean up how we invoke make_project in the unit tests
This commit is contained in:
@@ -208,7 +208,7 @@ class BaseTestMixin(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def make_projects(self, created_by, count=1, playbook_content='',
|
def make_projects(self, created_by, count=1, playbook_content='',
|
||||||
role_playbooks=None):
|
role_playbooks=None, unicode_prefix=True):
|
||||||
results = []
|
results = []
|
||||||
for x in range(0, count):
|
for x in range(0, count):
|
||||||
self.object_ctr = self.object_ctr + 1
|
self.object_ctr = self.object_ctr + 1
|
||||||
@@ -218,6 +218,7 @@ class BaseTestMixin(object):
|
|||||||
created_by=created_by,
|
created_by=created_by,
|
||||||
playbook_content=playbook_content,
|
playbook_content=playbook_content,
|
||||||
role_playbooks=role_playbooks,
|
role_playbooks=role_playbooks,
|
||||||
|
unicode_prefix=unicode_prefix
|
||||||
))
|
))
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user