)]}'
{"mistral/api/controllers/v2/execution.py":[{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":133,"context_line":"            delta[\u0027description\u0027] \u003d wf_ex.description"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        if wf_ex.params and wf_ex.params.get(\u0027env\u0027, None):"},{"line_number":136,"context_line":"            delta[\u0027env\u0027] \u003d wf_ex.params.get(\u0027env\u0027, None)"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Currently we can change only state, description, or env."},{"line_number":139,"context_line":"        if len(delta.values()) \u003c\u003d 0:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_a94e8638","line":136,"updated":"2015-12-22 07:12:04.000000000","message":"no need to give it a default value.","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":133,"context_line":"            delta[\u0027description\u0027] \u003d wf_ex.description"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        if wf_ex.params and wf_ex.params.get(\u0027env\u0027, None):"},{"line_number":136,"context_line":"            delta[\u0027env\u0027] \u003d wf_ex.params.get(\u0027env\u0027, None)"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Currently we can change only state, description, or env."},{"line_number":139,"context_line":"        if len(delta.values()) \u003c\u003d 0:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_60772e03","line":136,"in_reply_to":"3a7e1126_a94e8638","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Currently we can change only state, description, or env."},{"line_number":139,"context_line":"        if len(delta.values()) \u003c\u003d 0:"},{"line_number":140,"context_line":"            raise ValueError("},{"line_number":141,"context_line":"                \u0027The property state, description, or env \u0027"},{"line_number":142,"context_line":"                \u0027is not provided for update.\u0027"},{"line_number":143,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_493da28d","line":140,"updated":"2015-12-22 07:12:04.000000000","message":"Why not use a meaningful exception?, if it\u0027s ValueError, it means a internal server error to client.","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"f9b94d33d16f6390a78e38c0601f5e2bceaab78c","unresolved":false,"context_lines":[{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Currently we can change only state, description, or env."},{"line_number":139,"context_line":"        if len(delta.values()) \u003c\u003d 0:"},{"line_number":140,"context_line":"            raise ValueError("},{"line_number":141,"context_line":"                \u0027The property state, description, or env \u0027"},{"line_number":142,"context_line":"                \u0027is not provided for update.\u0027"},{"line_number":143,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_b093425a","line":140,"in_reply_to":"3a7e1126_493da28d","updated":"2015-12-22 08:23:17.000000000","message":"Agree. Here should be one of MistralExceptions.","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Currently we can change only state, description, or env."},{"line_number":139,"context_line":"        if len(delta.values()) \u003c\u003d 0:"},{"line_number":140,"context_line":"            raise ValueError("},{"line_number":141,"context_line":"                \u0027The property state, description, or env \u0027"},{"line_number":142,"context_line":"                \u0027is not provided for update.\u0027"},{"line_number":143,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_e0b55e7e","line":140,"in_reply_to":"3a7e1126_493da28d","updated":"2015-12-22 22:05:43.000000000","message":"Done. Using InputException.","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":143,"context_line":"            )"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"        # Description cannot be updated together with state and env."},{"line_number":146,"context_line":"        if (delta.get(\u0027description\u0027) and"},{"line_number":147,"context_line":"                (delta.get(\u0027state\u0027) or delta.get(\u0027env\u0027))):"},{"line_number":148,"context_line":"            raise ValueError("},{"line_number":149,"context_line":"                \u0027The property description must be updated \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_a94206ac","line":146,"updated":"2015-12-22 07:12:04.000000000","message":"From implementation point of view, updating \u0027description\u0027 and \u0027env\u0027 are both operations to db, how about allowing users to update them together?","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":143,"context_line":"            )"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"        # Description cannot be updated together with state and env."},{"line_number":146,"context_line":"        if (delta.get(\u0027description\u0027) and"},{"line_number":147,"context_line":"                (delta.get(\u0027state\u0027) or delta.get(\u0027env\u0027))):"},{"line_number":148,"context_line":"            raise ValueError("},{"line_number":149,"context_line":"                \u0027The property description must be updated \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_a34be02a","line":146,"in_reply_to":"3a7e1126_a94206ac","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"f9b94d33d16f6390a78e38c0601f5e2bceaab78c","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        # Description cannot be updated together with state and env."},{"line_number":146,"context_line":"        if (delta.get(\u0027description\u0027) and"},{"line_number":147,"context_line":"                (delta.get(\u0027state\u0027) or delta.get(\u0027env\u0027))):"},{"line_number":148,"context_line":"            raise ValueError("},{"line_number":149,"context_line":"                \u0027The property description must be updated \u0027"},{"line_number":150,"context_line":"                \u0027separately from state and env.\u0027"},{"line_number":151,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_30951232","line":148,"range":{"start_line":148,"start_character":18,"end_line":148,"end_character":28},"updated":"2015-12-22 08:23:17.000000000","message":"The same.","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":145,"context_line":"        # Description cannot be updated together with state and env."},{"line_number":146,"context_line":"        if (delta.get(\u0027description\u0027) and"},{"line_number":147,"context_line":"                (delta.get(\u0027state\u0027) or delta.get(\u0027env\u0027))):"},{"line_number":148,"context_line":"            raise ValueError("},{"line_number":149,"context_line":"                \u0027The property description must be updated \u0027"},{"line_number":150,"context_line":"                \u0027separately from state and env.\u0027"},{"line_number":151,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_80a7ba4e","line":148,"range":{"start_line":148,"start_character":18,"end_line":148,"end_character":28},"in_reply_to":"3a7e1126_30951232","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"f9b94d33d16f6390a78e38c0601f5e2bceaab78c","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        # If state change, environment cannot be updated if not RUNNING."},{"line_number":154,"context_line":"        if (delta.get(\u0027env\u0027) and"},{"line_number":155,"context_line":"                delta.get(\u0027state\u0027) and delta[\u0027state\u0027] !\u003d states.RUNNING):"},{"line_number":156,"context_line":"            raise ValueError("},{"line_number":157,"context_line":"                \u0027The property env can only be updated when workflow \u0027"},{"line_number":158,"context_line":"                \u0027execution is not running or on resume from pause.\u0027"},{"line_number":159,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_d097ee37","line":156,"range":{"start_line":156,"start_character":18,"end_line":156,"end_character":28},"updated":"2015-12-22 08:23:17.000000000","message":"The same.","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        # If state change, environment cannot be updated if not RUNNING."},{"line_number":154,"context_line":"        if (delta.get(\u0027env\u0027) and"},{"line_number":155,"context_line":"                delta.get(\u0027state\u0027) and delta[\u0027state\u0027] !\u003d states.RUNNING):"},{"line_number":156,"context_line":"            raise ValueError("},{"line_number":157,"context_line":"                \u0027The property env can only be updated when workflow \u0027"},{"line_number":158,"context_line":"                \u0027execution is not running or on resume from pause.\u0027"},{"line_number":159,"context_line":"            )"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_2063661c","line":156,"range":{"start_line":156,"start_character":18,"end_line":156,"end_character":28},"in_reply_to":"3a7e1126_d097ee37","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"}],"mistral/tests/unit/api/v2/test_executions.py":[{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":99,"context_line":"        \u0027pause_workflow\u0027,"},{"line_number":100,"context_line":"        MOCK_UPDATED_WF_EX"},{"line_number":101,"context_line":"    )"},{"line_number":102,"context_line":"    def test_put(self):"},{"line_number":103,"context_line":"        update_exec \u003d {"},{"line_number":104,"context_line":"            \u0027id\u0027: WF_EX[\u0027id\u0027],"},{"line_number":105,"context_line":"            \u0027state\u0027: states.PAUSED"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_6e9e6464","line":102,"updated":"2015-12-22 07:12:04.000000000","message":"Method name should be \u0027test_put_state_paused\u0027","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":99,"context_line":"        \u0027pause_workflow\u0027,"},{"line_number":100,"context_line":"        MOCK_UPDATED_WF_EX"},{"line_number":101,"context_line":"    )"},{"line_number":102,"context_line":"    def test_put(self):"},{"line_number":103,"context_line":"        update_exec \u003d {"},{"line_number":104,"context_line":"            \u0027id\u0027: WF_EX[\u0027id\u0027],"},{"line_number":105,"context_line":"            \u0027state\u0027: states.PAUSED"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_2305b0c1","line":102,"in_reply_to":"3a7e1126_6e9e6464","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        mock.MagicMock(return_value\u003dNone)"},{"line_number":120,"context_line":"    )"},{"line_number":121,"context_line":"    @mock.patch.object(rpc.EngineClient, \u0027stop_workflow\u0027)"},{"line_number":122,"context_line":"    def test_put_state(self, mock_stop_wf):"},{"line_number":123,"context_line":"        update_exec \u003d {"},{"line_number":124,"context_line":"            \u0027id\u0027: WF_EX[\u0027id\u0027],"},{"line_number":125,"context_line":"            \u0027state\u0027: states.ERROR,"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_ae7f6c13","line":122,"updated":"2015-12-22 07:12:04.000000000","message":"Method name should be \u0027test_put_state_error\u0027","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        mock.MagicMock(return_value\u003dNone)"},{"line_number":120,"context_line":"    )"},{"line_number":121,"context_line":"    @mock.patch.object(rpc.EngineClient, \u0027stop_workflow\u0027)"},{"line_number":122,"context_line":"    def test_put_state(self, mock_stop_wf):"},{"line_number":123,"context_line":"        update_exec \u003d {"},{"line_number":124,"context_line":"            \u0027id\u0027: WF_EX[\u0027id\u0027],"},{"line_number":125,"context_line":"            \u0027state\u0027: states.ERROR,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_031434f3","line":122,"in_reply_to":"3a7e1126_ae7f6c13","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":211,"context_line":""},{"line_number":212,"context_line":"    @mock.patch.object("},{"line_number":213,"context_line":"        sql_db_api,"},{"line_number":214,"context_line":"        \u0027_get_workflow_execution\u0027,"},{"line_number":215,"context_line":"        mock.MagicMock(return_value\u003dcopy.deepcopy(UPDATED_WF_EX))"},{"line_number":216,"context_line":"    )"},{"line_number":217,"context_line":"    def test_put_env(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_0e37a04d","line":214,"range":{"start_line":214,"start_character":9,"end_line":214,"end_character":32},"updated":"2015-12-22 07:12:04.000000000","message":"Since it is a test case for api, you can mock \u0027db_api.update_workflow_execution_env\u0027 method directly, and make assertion for its parameters.","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":211,"context_line":""},{"line_number":212,"context_line":"    @mock.patch.object("},{"line_number":213,"context_line":"        sql_db_api,"},{"line_number":214,"context_line":"        \u0027_get_workflow_execution\u0027,"},{"line_number":215,"context_line":"        mock.MagicMock(return_value\u003dcopy.deepcopy(UPDATED_WF_EX))"},{"line_number":216,"context_line":"    )"},{"line_number":217,"context_line":"    def test_put_env(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_a3a3e09d","line":214,"range":{"start_line":214,"start_character":9,"end_line":214,"end_character":32},"in_reply_to":"3a7e1126_0e37a04d","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":240,"context_line":"    def test_put_empty(self):"},{"line_number":241,"context_line":"        resp \u003d self.app.put_json(\u0027/v2/executions/123\u0027, {}, expect_errors\u003dTrue)"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"        self.assertEqual(500, resp.status_int)"},{"line_number":244,"context_line":"        self.assertIn("},{"line_number":245,"context_line":"            \u0027state, description, or env is not provided for update\u0027,"},{"line_number":246,"context_line":"            resp.json[\u0027faultstring\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_ee81f4c3","line":243,"updated":"2015-12-22 07:12:04.000000000","message":"If no acceptable params provided, HTTP code returned should be 4XX(Client Error), in this particular case, it should be 400(Bad Request) .","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":240,"context_line":"    def test_put_empty(self):"},{"line_number":241,"context_line":"        resp \u003d self.app.put_json(\u0027/v2/executions/123\u0027, {}, expect_errors\u003dTrue)"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"        self.assertEqual(500, resp.status_int)"},{"line_number":244,"context_line":"        self.assertIn("},{"line_number":245,"context_line":"            \u0027state, description, or env is not provided for update\u0027,"},{"line_number":246,"context_line":"            resp.json[\u0027faultstring\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_26d37e3a","line":243,"in_reply_to":"3a7e1126_ee81f4c3","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":264,"context_line":"                expect_errors\u003dTrue"},{"line_number":265,"context_line":"            )"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"            self.assertEqual(500, resp.status_int)"},{"line_number":268,"context_line":"            self.assertIn("},{"line_number":269,"context_line":"                \u0027description must be updated separately from state and env\u0027,"},{"line_number":270,"context_line":"                resp.json[\u0027faultstring\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_ce52f866","line":267,"updated":"2015-12-22 07:12:04.000000000","message":"HTTP code returned should be 4XX(Client Error), in this particular case, it should be 400(Bad Request) .","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":264,"context_line":"                expect_errors\u003dTrue"},{"line_number":265,"context_line":"            )"},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"            self.assertEqual(500, resp.status_int)"},{"line_number":268,"context_line":"            self.assertIn("},{"line_number":269,"context_line":"                \u0027description must be updated separately from state and env\u0027,"},{"line_number":270,"context_line":"                resp.json[\u0027faultstring\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_8617d2ec","line":267,"in_reply_to":"3a7e1126_ce52f866","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"43e7913ad7cd8d18fae142831155f39299fe87a9","unresolved":false,"context_lines":[{"line_number":288,"context_line":"            expect_errors\u003dTrue"},{"line_number":289,"context_line":"        )"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"        self.assertEqual(500, resp.status_int)"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"        expected_fault \u003d ("},{"line_number":294,"context_line":"            \u0027env can only be updated when workflow execution \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a7e1126_6e4d04c3","line":291,"updated":"2015-12-22 07:12:04.000000000","message":"HTTP code returned should be 4XX(Client Error), in this particular case, it should be 400(Bad Request) .","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"338de3ae4b39d6d6ea6114e272518bbad85f6f39","unresolved":false,"context_lines":[{"line_number":288,"context_line":"            expect_errors\u003dTrue"},{"line_number":289,"context_line":"        )"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":"        self.assertEqual(500, resp.status_int)"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"        expected_fault \u003d ("},{"line_number":294,"context_line":"            \u0027env can only be updated when workflow execution \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_661ae619","line":291,"in_reply_to":"3a7e1126_6e4d04c3","updated":"2015-12-22 22:05:43.000000000","message":"Done","commit_id":"7fdd613cfce523780af174787fa9f1123a57eb43"}]}
