mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -02:30
Bypass task runner system in normal job start tests... we'll test it another way so assume we want to just start the job right away
This commit is contained in:
@@ -385,6 +385,8 @@ class Job(CommonTask):
|
||||
return dependencies
|
||||
|
||||
def signal_start(self, **kwargs):
|
||||
if hasattr(settings, 'CELERY_UNIT_TEST'):
|
||||
return self.start(None, **kwargs)
|
||||
if not self.can_start:
|
||||
return False
|
||||
needed = self._get_passwords_needed_to_start()
|
||||
|
||||
Reference in New Issue
Block a user