Updates to logging, specifically for unit tests

This commit is contained in:
AlanCoding
2019-01-15 10:42:40 -05:00
parent 4f9901db38
commit cccc038600
6 changed files with 14 additions and 24 deletions

View File

@@ -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: