mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 04:30:05 -03:30
Updates to logging, specifically for unit tests
This commit is contained in:
@@ -246,8 +246,6 @@ class TestJobExecution(object):
|
||||
# If `Job.update_model` is called, we're not actually persisting
|
||||
# to the database; just update the status, which is usually
|
||||
# the update we care about for testing purposes
|
||||
if kwargs.get('result_traceback'):
|
||||
raise Exception('Task encountered error:\n{}'.format(kwargs['result_traceback']))
|
||||
if 'status' in kwargs:
|
||||
self.instance.status = kwargs['status']
|
||||
if 'job_env' in kwargs:
|
||||
|
||||
Reference in New Issue
Block a user