)]}'
{"mistral/tests/unit/engine/test_direct_workflow.py":[{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"73d2bdee04600ceaeac2572e6ba261cd36b930a9","unresolved":false,"context_lines":[{"line_number":259,"context_line":""},{"line_number":260,"context_line":"        # Assert that there is only one action execution and it\u0027s SUCCESS."},{"line_number":261,"context_line":"        task_1_action_exs \u003d db_api.get_action_executions("},{"line_number":262,"context_line":"            task_execution_id\u003dtask_1_ex.id)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"        self.assertEqual(1, len(task_1_action_exs))"},{"line_number":265,"context_line":"        self.assertEqual(states.SUCCESS, task_1_action_exs[0].state)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a26ad4f_c186d564","line":262,"updated":"2015-10-30 07:13:32.000000000","message":"Soft: please use format \n\n  method(\n      arg1,\n      arg2\n  )","commit_id":"8189450e4788864fe558d0829c2dc254004475e6"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"73d2bdee04600ceaeac2572e6ba261cd36b930a9","unresolved":false,"context_lines":[{"line_number":262,"context_line":"            task_execution_id\u003dtask_1_ex.id)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"        self.assertEqual(1, len(task_1_action_exs))"},{"line_number":265,"context_line":"        self.assertEqual(states.SUCCESS, task_1_action_exs[0].state)"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    def test_async_next_task_with_input_yaql_error(self):"},{"line_number":268,"context_line":"        wf_text \u003d \"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a26ad4f_21c6a99a","line":265,"updated":"2015-10-30 07:13:32.000000000","message":"What about task2? Is it at least created? User can be confused here if it is not created: all tasks of wf_ex are successful but workflow state is ERROR. Btw, what does wf_ex.state_info contain?","commit_id":"8189450e4788864fe558d0829c2dc254004475e6"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"783c8637ca91193a237a5c342bc0125112a479dd","unresolved":false,"context_lines":[{"line_number":262,"context_line":"            task_execution_id\u003dtask_1_ex.id)"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"        self.assertEqual(1, len(task_1_action_exs))"},{"line_number":265,"context_line":"        self.assertEqual(states.SUCCESS, task_1_action_exs[0].state)"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    def test_async_next_task_with_input_yaql_error(self):"},{"line_number":268,"context_line":"        wf_text \u003d \"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a26ad4f_309a6364","line":265,"in_reply_to":"1a26ad4f_21c6a99a","updated":"2015-10-30 16:07:42.000000000","message":"I\u0027ll add the check to state_info.  But the reason why task2 isn\u0027t created is because the input has YAQL error and hasn\u0027t gotten pass invocation. I\u0027m not sure how to get around that...","commit_id":"8189450e4788864fe558d0829c2dc254004475e6"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"d370219b6d65c914d134b3488ecbb934ba762373","unresolved":false,"context_lines":[{"line_number":245,"context_line":"        # Invoke workflow and assert workflow is in ERROR."},{"line_number":246,"context_line":"        wf_ex \u003d self._run_workflow(wf_text)"},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"        self.assertTrue(states.ERROR, wf_ex.state)"},{"line_number":249,"context_line":"        self.assertIn(\u0027Can not evaluate YAQL expression\u0027, wf_ex.state_info)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"        # Assert that there is only one task execution and it\u0027s SUCCESS."}],"source_content_type":"text/x-python","patch_set":4,"id":"1a26ad4f_4945fa14","line":248,"updated":"2015-10-30 18:14:56.000000000","message":"It should be self.assertEqual()","commit_id":"6378a9f9892c87de7e61a53a00be40519cac5a9b"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"d370219b6d65c914d134b3488ecbb934ba762373","unresolved":false,"context_lines":[{"line_number":287,"context_line":"        # and async action execution are RUNNING."},{"line_number":288,"context_line":"        wf_ex \u003d self._run_workflow(wf_text, states.RUNNING)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"        self.assertTrue(states.RUNNING, wf_ex.state)"},{"line_number":291,"context_line":"        self.assertEqual(1, len(wf_ex.task_executions))"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"        task_1_ex \u003d self._assert_single_item("}],"source_content_type":"text/x-python","patch_set":4,"id":"1a26ad4f_a9560ed0","line":290,"updated":"2015-10-30 18:14:56.000000000","message":"please use self.assertEqual.","commit_id":"6378a9f9892c87de7e61a53a00be40519cac5a9b"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"d370219b6d65c914d134b3488ecbb934ba762373","unresolved":false,"context_lines":[{"line_number":434,"context_line":"        # Invoke workflow and assert workflow is in ERROR."},{"line_number":435,"context_line":"        wf_ex \u003d self._run_workflow(wf_text)"},{"line_number":436,"context_line":""},{"line_number":437,"context_line":"        self.assertTrue(states.ERROR, wf_ex.state)"},{"line_number":438,"context_line":"        self.assertIn(\u0027Can not evaluate YAQL expression\u0027, wf_ex.state_info)"},{"line_number":439,"context_line":""},{"line_number":440,"context_line":"        # Assert that there is only one task execution and it\u0027s SUCCESS."}],"source_content_type":"text/x-python","patch_set":4,"id":"1a26ad4f_096f0293","line":437,"updated":"2015-10-30 18:14:56.000000000","message":"please use self.assertEqual.","commit_id":"6378a9f9892c87de7e61a53a00be40519cac5a9b"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"d370219b6d65c914d134b3488ecbb934ba762373","unresolved":false,"context_lines":[{"line_number":476,"context_line":"        # and async action execution are RUNNING."},{"line_number":477,"context_line":"        wf_ex \u003d self._run_workflow(wf_text, states.RUNNING)"},{"line_number":478,"context_line":""},{"line_number":479,"context_line":"        self.assertTrue(states.RUNNING, wf_ex.state)"},{"line_number":480,"context_line":"        self.assertEqual(1, len(wf_ex.task_executions))"},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"        task_1_ex \u003d self._assert_single_item("}],"source_content_type":"text/x-python","patch_set":4,"id":"1a26ad4f_c9682a8a","line":479,"updated":"2015-10-30 18:14:56.000000000","message":"please use self.assertEqual.","commit_id":"6378a9f9892c87de7e61a53a00be40519cac5a9b"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"d370219b6d65c914d134b3488ecbb934ba762373","unresolved":false,"context_lines":[{"line_number":506,"context_line":"        # Assert that task1 is SUCCESS and workflow is ERROR."},{"line_number":507,"context_line":"        wf_ex \u003d db_api.get_workflow_execution(wf_ex.id)"},{"line_number":508,"context_line":""},{"line_number":509,"context_line":"        self.assertTrue(states.ERROR, wf_ex.state)"},{"line_number":510,"context_line":"        self.assertIn(\u0027Can not evaluate YAQL expression\u0027, wf_ex.state_info)"},{"line_number":511,"context_line":"        self.assertEqual(1, len(wf_ex.task_executions))"},{"line_number":512,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"1a26ad4f_6906b6cf","line":509,"updated":"2015-10-30 18:14:56.000000000","message":"please use self.assertEqual.","commit_id":"6378a9f9892c87de7e61a53a00be40519cac5a9b"}]}
