0878303a498477bc68274ae0e08f6d9613f929fe,core/eolearn/tests/test_eoexecutor.py,TestEOExecutor,test_report_creation,#TestEOExecutor#,78

Before Change


            self.assertTrue("error" in executor.execution_stats[0])

    def test_report_creation(self):
        task = ExampleTask()

        workflow = EOWorkflow(dependencies=[
            Dependency(task=task, inputs=[]),
        ])

        execution_args = [
            {"arg1": 1}
        ]

After Change


            executor.run(workers=10)
            executor.make_report()

            self.assertTrue(os.path.exists(executor._get_report_filename()), "Execution report was not created")


if __name__ == "__main__":
    unittest.main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: sentinel-hub/eo-learn
Commit Name: 0878303a498477bc68274ae0e08f6d9613f929fe
Time: 2018-09-26
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/tests/test_eoexecutor.py
Class Name: TestEOExecutor
Method Name: test_report_creation


Project Name: sentinel-hub/eo-learn
Commit Name: 0878303a498477bc68274ae0e08f6d9613f929fe
Time: 2018-09-26
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/tests/test_eoexecutor.py
Class Name: TestEOExecutor
Method Name: test_execution_logs


Project Name: sentinel-hub/eo-learn
Commit Name: 0878303a498477bc68274ae0e08f6d9613f929fe
Time: 2018-09-26
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/tests/test_eoexecutor.py
Class Name: TestEOExecutor
Method Name: test_execution_stats