)]}'
{"mistral/tests/unit/engine/test_cron_trigger.py":[{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"f5dde20c37eaf98b53409c3e3a21a3a1fd9faff3","unresolved":false,"context_lines":[{"line_number":120,"context_line":"                                                             validate_mock):"},{"line_number":121,"context_line":"        wf \u003d workflows.create_workflows(WORKFLOW_LIST)[0]"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        first_time \u003d datetime.datetime.now() + datetime.timedelta(0, 1)"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        # Creates a cron-trigger with pattern and first time, ensure the"},{"line_number":126,"context_line":"        # cron-trigger can be executed more than once, and cron-trigger will"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_7cef171e","line":123,"updated":"2015-11-12 08:12:53.000000000","message":"Lingxian, can you explain me one thing. In the file mistral/services/triggers.py you fixed error message \" \u0027first_execution_time must be at least 1 minute in the future.\u0027\", 1 minute, but here your first_execution_time should be executed in a 1 sec.","commit_id":"4535babfde4118a466a6d7a5f6d92e161532184c"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"36b0e5a046b03c43a153d61cfc789c86be1e2e2b","unresolved":false,"context_lines":[{"line_number":120,"context_line":"                                                             validate_mock):"},{"line_number":121,"context_line":"        wf \u003d workflows.create_workflows(WORKFLOW_LIST)[0]"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        first_time \u003d datetime.datetime.now() + datetime.timedelta(0, 1)"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        # Creates a cron-trigger with pattern and first time, ensure the"},{"line_number":126,"context_line":"        # cron-trigger can be executed more than once, and cron-trigger will"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_e66611ba","line":123,"in_reply_to":"da85f559_7cef171e","updated":"2015-11-12 09:21:21.000000000","message":"Hi, Anastasia, 1 sec here is not related to 1 min I modified. I make the first_time 1 sec later than current time, in order to make it executed by next cron-trigger task. I will add a comment to explain it. Thanks for pointing out this.","commit_id":"4535babfde4118a466a6d7a5f6d92e161532184c"},{"author":{"_account_id":8592,"name":"Anastasia Kuznetsova","email":"akuznetsova@mirantis.com","username":"nastya-kuz"},"change_message_id":"f5dde20c37eaf98b53409c3e3a21a3a1fd9faff3","unresolved":false,"context_lines":[{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        cron_trigger_db \u003d db_api.get_cron_trigger(\u0027test\u0027)"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        self.assertNotNone(cron_trigger_db)"},{"line_number":151,"context_line":"        self.assertEqual("},{"line_number":152,"context_line":"            next_execution_time,"},{"line_number":153,"context_line":"            cron_trigger_db.next_execution_time"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_4146ec7b","line":150,"updated":"2015-11-12 08:12:53.000000000","message":"assertNotNone -\u003e assertIsNotNone","commit_id":"4535babfde4118a466a6d7a5f6d92e161532184c"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"36b0e5a046b03c43a153d61cfc789c86be1e2e2b","unresolved":false,"context_lines":[{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        cron_trigger_db \u003d db_api.get_cron_trigger(\u0027test\u0027)"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        self.assertNotNone(cron_trigger_db)"},{"line_number":151,"context_line":"        self.assertEqual("},{"line_number":152,"context_line":"            next_execution_time,"},{"line_number":153,"context_line":"            cron_trigger_db.next_execution_time"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_e614d1e9","line":150,"in_reply_to":"da85f559_4146ec7b","updated":"2015-11-12 09:21:21.000000000","message":"ooh, thanks!","commit_id":"4535babfde4118a466a6d7a5f6d92e161532184c"}]}
