a51009230ba17528e4462fe022af5f2c92bdae15,core/eolearn/tests/test_eoworkflow.py,TestEOWorkflow,test_get_tasks,#TestEOWorkflow#,127

Before Change


            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)

    def test_trivial_workflow(self):

After Change


        returned_tasks = eow.get_tasks()

        // check if tasks are present
        self.assertEqual(sorted(task_names), sorted(returned_tasks))

        // check if tasks still work
        arguments_dict = {
            in_task: {"val": 2},
Italian Trulli
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: reinforceio/tensorforce
Commit Name: 3441307d09545ca741396122e2ce83d56c7fcebc
Time: 2020-05-06
Author: alexkuhnle@t-online.de
File Name: test/test_parameters.py
Class Name: TestParameters
Method Name: float_unittest


Project Name: reinforceio/tensorforce
Commit Name: da7009655b63c5d96be0039af421ab56de379ef1
Time: 2020-07-18
Author: alexkuhnle@t-online.de
File Name: test/test_features.py
Class Name: TestFeatures
Method Name: test_pretrain