[golemfactory/golem] Blender tests failing (#3169)

After refactor of `BlenderRenderTask.VERIFIER_CLASS`, tests are failing in `tests/apps/blender/test_blender_reference_generator.py` — for example:
«`
@ci_skip
def test_almost_good_image(self):
d = Deferred()

def success(*args, **kwargs):
# pylint: disable=unused-argument
d.errback(False)
assert False

def failure(*args, **kwargs):
# pylint: disable=unused-argument
d.callback(True)

def verification_finished():
logger.info(«Verification finished»)

verification_data = {}
verification_data[‘subtask_info’] = self.subtask_info
verification_data[‘results’] = []
verification_data[‘reference_data’] = []
verification_data[‘resources’] = self.resources
verification_data[‘paths’] = os.path.dirname(self.resources[0])

verifier = BlenderRenderTask.VERIFIER_CLASS(verification_finished,
> verification_data)
E TypeError: __init__() got an unexpected keyword argument ‘cropper_cls’
«`
and in `tests/apps/blender/task/test_blenderrendertask.py`:
«` [100%]verification_queue.py
110 ERROR Failed to start verification of subtask ‘a3282ff6-9c16-11e8-b475-318e3b068d9b’:
TypeError(«__init__() got an unexpected keyword argument ‘cropper_cls'»,)
Unhandled error in Deferred:
tests/apps/blender/task/test_blenderrendertask.py:117 (TestBlenderFrameTask.test_computation_failed_or_finished)
!=

«`

Добавить комментарий