a51009230ba17528e4462fe022af5f2c92bdae15,core/eolearn/tests/test_eoworkflow.py,TestEOWorkflow,test_get_tasks,#TestEOWorkflow#,127
Before Change
for idx, task in enumerate(workflow_tasks):
if idx == 0:
res_tasks_value = task.execute(**arguments_dict[task])
else:
res_tasks_value = task.execute(res_tasks_value, **arguments_dict[task])
self.assertEqual(res_workflow_value, res_tasks_value)
After Change
res_tasks_values = []
for idx, task in enumerate(returned_tasks.values()):
res_tasks_values = [task.execute(*res_tasks_values, **arguments_dict.get(task, {}))]
self.assertEqual(res_workflow_value, res_tasks_values)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: sentinel-hub/eo-learn
Commit Name: a51009230ba17528e4462fe022af5f2c92bdae15
Time: 2020-01-22
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/tests/test_eoworkflow.py
Class Name: TestEOWorkflow
Method Name: test_get_tasks
Project Name: pantsbuild/pants
Commit Name: cd9f387c7261139e9ac1ac86e0319d8ac73b929c
Time: 2016-03-15
Author: stuhood@gmail.com
File Name: tests/python/pants_test/engine/exp/scheduler_test_base.py
Class Name: SchedulerTestBase
Method Name: execute
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: fcaf37ca034fecabeda10af7e5fe3c92760c2b48
Time: 2017-09-12
Author: gguuss@gmail.com
File Name: iot/api-client/manager/manager.py
Class Name:
Method Name: open_registry