)]}'
{"mistral/services/scheduler.py":[{"author":{"_account_id":9029,"name":"Moshe Elisha","email":"moshe.elisha@nokia.com","username":"MosheElisha"},"change_message_id":"b3a7fd48f6c5e320d26ae0d9ba09c9072705c4fa","unresolved":false,"context_lines":[{"line_number":163,"context_line":"                                  method_args))"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"        for (target_auth_context, target_method, method_args) in delayed_calls:"},{"line_number":166,"context_line":"            # Set the correct context"},{"line_number":167,"context_line":"            context.set_ctx(context.MistralContext(target_auth_context))"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"            # Transaction is needed here because some of the"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_8ff1bf6c","line":166,"updated":"2015-12-02 08:35:10.000000000","message":"Please place a period at end of line of comment","commit_id":"dcc2542fdcd3cd5caae14f1439372b66c75edc20"},{"author":{"_account_id":9029,"name":"Moshe Elisha","email":"moshe.elisha@nokia.com","username":"MosheElisha"},"change_message_id":"b3a7fd48f6c5e320d26ae0d9ba09c9072705c4fa","unresolved":false,"context_lines":[{"line_number":175,"context_line":"                except Exception as e:"},{"line_number":176,"context_line":"                    LOG.error("},{"line_number":177,"context_line":"                        \"Delayed call failed [exception\u003d%s]\", e"},{"line_number":178,"context_line":"                    )"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"        with db_api.transaction():"},{"line_number":181,"context_line":"            for call in calls_to_make:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_ef896bcb","line":178,"updated":"2015-12-02 08:35:10.000000000","message":"Shouldn\u0027t we clear / restore the context at the end?","commit_id":"dcc2542fdcd3cd5caae14f1439372b66c75edc20"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"7020b3a9c1b48e62ca2aa92e2077cf4a9bb68466","unresolved":false,"context_lines":[{"line_number":175,"context_line":"                except Exception as e:"},{"line_number":176,"context_line":"                    LOG.error("},{"line_number":177,"context_line":"                        \"Delayed call failed [exception\u003d%s]\", e"},{"line_number":178,"context_line":"                    )"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"        with db_api.transaction():"},{"line_number":181,"context_line":"            for call in calls_to_make:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_1beaa80f","line":178,"in_reply_to":"9a8ffd7b_ef896bcb","updated":"2015-12-03 09:07:19.000000000","message":"Yes, I think we need to save a previous context before the \"for\" loop and restore after it. \"for\" loop should be in \"try-finally\" block and restoring the context should be in \"finally\".","commit_id":"dcc2542fdcd3cd5caae14f1439372b66c75edc20"},{"author":{"_account_id":15353,"name":"Noa Koffman","email":"noa.koffman@nokia.com","username":"noakoffman"},"change_message_id":"014bb69ee2e018268eb1f079636798d0a4983e3e","unresolved":false,"context_lines":[{"line_number":158,"context_line":"                    method_args[arg_name] \u003d deserialized"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"            delayed_calls.append((target_auth_context, target_method,"},{"line_number":161,"context_line":"                                  method_args))"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"        for (target_auth_context, target_method, method_args) in delayed_calls:"},{"line_number":164,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a740942_8dc3c856","line":161,"updated":"2015-12-08 09:51:36.000000000","message":"soft,\nplease change styling to:\ndelayed_calls.append((\n       target_auth_context,\n       target_method,\n       method_args\n))","commit_id":"e8bf0cbce22a6bc72256c7cab7750aea66a3602e"}],"mistral/tests/unit/services/test_scheduler.py":[{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"cf8102d8f2d659ae9c487aab348d545f8448035c","unresolved":false,"context_lines":[{"line_number":30,"context_line":"TARGET_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":31,"context_line":"                      \u0027target_method\u0027)"},{"line_number":32,"context_line":"CHECK_CONTEXT_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":33,"context_line":"                             \u0027target_check_context_method\u0027)"},{"line_number":34,"context_line":"COMPARE_CONTEXT_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":35,"context_line":"                               \u0027compare_context_values\u0027)"},{"line_number":36,"context_line":"FAILED_TO_SEND_TARGET_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_22abcf76","line":33,"updated":"2015-12-08 02:59:26.000000000","message":"Can we use the following style?  Please fix other lines as well.\n\nCHECK_CONTEXT_METHOD_PATH \u003d (\n    \u0027mistral.tests.unit.services.test_scheduler.target_check_context_method\u0027\n)","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"9d682128b903e23dc914d19a06f5b2289ee5cff2","unresolved":false,"context_lines":[{"line_number":30,"context_line":"TARGET_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":31,"context_line":"                      \u0027target_method\u0027)"},{"line_number":32,"context_line":"CHECK_CONTEXT_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":33,"context_line":"                             \u0027target_check_context_method\u0027)"},{"line_number":34,"context_line":"COMPARE_CONTEXT_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":35,"context_line":"                               \u0027compare_context_values\u0027)"},{"line_number":36,"context_line":"FAILED_TO_SEND_TARGET_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_17f609f9","line":33,"in_reply_to":"7a740942_22abcf76","updated":"2015-12-08 09:33:57.000000000","message":"Done","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"cf8102d8f2d659ae9c487aab348d545f8448035c","unresolved":false,"context_lines":[{"line_number":32,"context_line":"CHECK_CONTEXT_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":33,"context_line":"                             \u0027target_check_context_method\u0027)"},{"line_number":34,"context_line":"COMPARE_CONTEXT_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":35,"context_line":"                               \u0027compare_context_values\u0027)"},{"line_number":36,"context_line":"FAILED_TO_SEND_TARGET_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":37,"context_line":"                              \u0027failed_to_send\u0027)"},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_02bd73b6","line":35,"updated":"2015-12-08 02:59:26.000000000","message":"See comments above.","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"9d682128b903e23dc914d19a06f5b2289ee5cff2","unresolved":false,"context_lines":[{"line_number":32,"context_line":"CHECK_CONTEXT_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":33,"context_line":"                             \u0027target_check_context_method\u0027)"},{"line_number":34,"context_line":"COMPARE_CONTEXT_METHOD_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":35,"context_line":"                               \u0027compare_context_values\u0027)"},{"line_number":36,"context_line":"FAILED_TO_SEND_TARGET_PATH \u003d (\u0027mistral.tests.unit.services.test_scheduler.\u0027"},{"line_number":37,"context_line":"                              \u0027failed_to_send\u0027)"},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_b7dff567","line":35,"in_reply_to":"7a740942_02bd73b6","updated":"2015-12-08 09:33:57.000000000","message":"Done","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"cf8102d8f2d659ae9c487aab348d545f8448035c","unresolved":false,"context_lines":[{"line_number":148,"context_line":"        default_context \u003d base.get_context(default\u003dTrue)"},{"line_number":149,"context_line":"        auth_context.set_ctx(default_context)"},{"line_number":150,"context_line":"        default_project_id \u003d default_context._BaseContext__values["},{"line_number":151,"context_line":"            \u0027project_id\u0027]"},{"line_number":152,"context_line":"        method_args1 \u003d {\u0027expected_project_id\u0027: default_project_id}"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"        scheduler.schedule_call("}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_42ecdbf2","line":151,"updated":"2015-12-08 02:59:26.000000000","message":"Maybe use the following style?\n\ndefault_project_id \u003d (\n    default_context._BaseContext__values[\u0027project_id\u0027]\n)","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"9d682128b903e23dc914d19a06f5b2289ee5cff2","unresolved":false,"context_lines":[{"line_number":148,"context_line":"        default_context \u003d base.get_context(default\u003dTrue)"},{"line_number":149,"context_line":"        auth_context.set_ctx(default_context)"},{"line_number":150,"context_line":"        default_project_id \u003d default_context._BaseContext__values["},{"line_number":151,"context_line":"            \u0027project_id\u0027]"},{"line_number":152,"context_line":"        method_args1 \u003d {\u0027expected_project_id\u0027: default_project_id}"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"        scheduler.schedule_call("}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_3760e5a4","line":151,"in_reply_to":"7a740942_42ecdbf2","updated":"2015-12-08 09:33:57.000000000","message":"Done","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"cf8102d8f2d659ae9c487aab348d545f8448035c","unresolved":false,"context_lines":[{"line_number":161,"context_line":"        second_context \u003d base.get_context(default\u003dFalse)"},{"line_number":162,"context_line":"        auth_context.set_ctx(second_context)"},{"line_number":163,"context_line":"        second_project_id \u003d second_context._BaseContext__values["},{"line_number":164,"context_line":"            \u0027project_id\u0027]"},{"line_number":165,"context_line":"        method_args2 \u003d {\u0027expected_project_id\u0027: second_project_id}"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"        scheduler.schedule_call("}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_02c1f353","line":164,"updated":"2015-12-08 02:59:26.000000000","message":"Maybe use the following style?\ndefault_project_id \u003d (\n    default_context._BaseContext__values[\u0027project_id\u0027]\n)","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"9d682128b903e23dc914d19a06f5b2289ee5cff2","unresolved":false,"context_lines":[{"line_number":161,"context_line":"        second_context \u003d base.get_context(default\u003dFalse)"},{"line_number":162,"context_line":"        auth_context.set_ctx(second_context)"},{"line_number":163,"context_line":"        second_project_id \u003d second_context._BaseContext__values["},{"line_number":164,"context_line":"            \u0027project_id\u0027]"},{"line_number":165,"context_line":"        method_args2 \u003d {\u0027expected_project_id\u0027: second_project_id}"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"        scheduler.schedule_call("}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_570c91ec","line":164,"in_reply_to":"7a740942_02c1f353","updated":"2015-12-08 09:33:57.000000000","message":"Done","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"cf8102d8f2d659ae9c487aab348d545f8448035c","unresolved":false,"context_lines":[{"line_number":172,"context_line":"        )"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"        eventlet.sleep(WAIT)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"        method.assert_any_call(default_project_id,"},{"line_number":177,"context_line":"                               default_project_id)"},{"line_number":178,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_e2894727","line":175,"updated":"2015-12-08 02:59:26.000000000","message":"Please add this check.\n\nself.assertNotEqual(default_project_id, second_project_id)","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"9d682128b903e23dc914d19a06f5b2289ee5cff2","unresolved":false,"context_lines":[{"line_number":172,"context_line":"        )"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"        eventlet.sleep(WAIT)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"        method.assert_any_call(default_project_id,"},{"line_number":177,"context_line":"                               default_project_id)"},{"line_number":178,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_f7233d56","line":175,"in_reply_to":"7a740942_e2894727","updated":"2015-12-08 09:33:57.000000000","message":"Done","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"cf8102d8f2d659ae9c487aab348d545f8448035c","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        eventlet.sleep(WAIT)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"        method.assert_any_call(default_project_id,"},{"line_number":177,"context_line":"                               default_project_id)"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"        method.assert_any_call(second_project_id,"},{"line_number":180,"context_line":"                               second_project_id)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_62fb17c2","line":177,"updated":"2015-12-08 02:59:26.000000000","message":"Please either collapse this to one line or use the form\n\nmethod.assert_any_call(\n    default_project_id,\n    default_project_id\n)","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"9d682128b903e23dc914d19a06f5b2289ee5cff2","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        eventlet.sleep(WAIT)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"        method.assert_any_call(default_project_id,"},{"line_number":177,"context_line":"                               default_project_id)"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"        method.assert_any_call(second_project_id,"},{"line_number":180,"context_line":"                               second_project_id)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_97ec39f4","line":177,"in_reply_to":"7a740942_62fb17c2","updated":"2015-12-08 09:33:57.000000000","message":"Done","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"cf8102d8f2d659ae9c487aab348d545f8448035c","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                               default_project_id)"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"        method.assert_any_call(second_project_id,"},{"line_number":180,"context_line":"                               second_project_id)"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"        # Set context back to normal."},{"line_number":183,"context_line":"        auth_context.set_ctx(default_context)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_82f883c4","line":180,"updated":"2015-12-08 02:59:26.000000000","message":"Please either collapse this to one line or use the form\n\nmethod.assert_any_call(\n    default_project_id,\n    default_project_id\n)","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"9d682128b903e23dc914d19a06f5b2289ee5cff2","unresolved":false,"context_lines":[{"line_number":177,"context_line":"                               default_project_id)"},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"        method.assert_any_call(second_project_id,"},{"line_number":180,"context_line":"                               second_project_id)"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"        # Set context back to normal."},{"line_number":183,"context_line":"        auth_context.set_ctx(default_context)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_b7d05520","line":180,"in_reply_to":"7a740942_82f883c4","updated":"2015-12-08 09:33:57.000000000","message":"Done","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":5558,"name":"Winson Chan","email":"wcchan@stackstorm.com","username":"winson-c-chan"},"change_message_id":"cf8102d8f2d659ae9c487aab348d545f8448035c","unresolved":false,"context_lines":[{"line_number":180,"context_line":"                               second_project_id)"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"        # Set context back to normal."},{"line_number":183,"context_line":"        auth_context.set_ctx(default_context)"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"    @mock.patch(FACTORY_METHOD_PATH)"},{"line_number":186,"context_line":"    def test_scheduler_with_serializer(self, factory):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_e2906745","line":183,"updated":"2015-12-08 02:59:26.000000000","message":"If this default_context is not reset, will other unit tests fail? Can we put this in a finally block?","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"9d682128b903e23dc914d19a06f5b2289ee5cff2","unresolved":false,"context_lines":[{"line_number":180,"context_line":"                               second_project_id)"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"        # Set context back to normal."},{"line_number":183,"context_line":"        auth_context.set_ctx(default_context)"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"    @mock.patch(FACTORY_METHOD_PATH)"},{"line_number":186,"context_line":"    def test_scheduler_with_serializer(self, factory):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a740942_9aa8e078","line":183,"in_reply_to":"7a740942_e2906745","updated":"2015-12-08 09:33:57.000000000","message":"No, the setUp function in the class set the context back to normal. I will delete these 2 lines.","commit_id":"eb865a79ce4aceb58a8e9f7a7ca7211d1ab7fbc6"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"0f8d969db673d014dd4bc97de8837049f0f977f9","unresolved":false,"context_lines":[{"line_number":34,"context_line":"CHECK_CONTEXT_METHOD_PATH \u003d ("},{"line_number":35,"context_line":"    \u0027mistral.tests.unit.services.test_scheduler.target_check_context_method\u0027"},{"line_number":36,"context_line":")"},{"line_number":37,"context_line":"COMPARE_CONTEXT_METHOD_PATH \u003d ("},{"line_number":38,"context_line":"    \u0027mistral.tests.unit.services.test_scheduler.compare_context_values\u0027"},{"line_number":39,"context_line":")"},{"line_number":40,"context_line":"FAILED_TO_SEND_TARGET_PATH \u003d ("}],"source_content_type":"text/x-python","patch_set":5,"id":"7a740942_f1bc97bc","line":37,"updated":"2015-12-08 15:00:36.000000000","message":"If the string is used only once, I think it will be overkill to use a global variable.","commit_id":"3bbdb436c1742799ab14875db484a79837c374ad"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"432a0c5183f2d8f7df2c03b552d78bdd87cbdc44","unresolved":false,"context_lines":[{"line_number":34,"context_line":"CHECK_CONTEXT_METHOD_PATH \u003d ("},{"line_number":35,"context_line":"    \u0027mistral.tests.unit.services.test_scheduler.target_check_context_method\u0027"},{"line_number":36,"context_line":")"},{"line_number":37,"context_line":"COMPARE_CONTEXT_METHOD_PATH \u003d ("},{"line_number":38,"context_line":"    \u0027mistral.tests.unit.services.test_scheduler.compare_context_values\u0027"},{"line_number":39,"context_line":")"},{"line_number":40,"context_line":"FAILED_TO_SEND_TARGET_PATH \u003d ("}],"source_content_type":"text/x-python","patch_set":5,"id":"7a740942_4271170e","line":37,"in_reply_to":"7a740942_f1bc97bc","updated":"2015-12-08 15:45:51.000000000","message":"Currently only one test uses this string, but it is very likely to change as more tests are added. \nKeeping this string a global will make the code easier to reuse, just like it was easy for me to reuse TARGET_METHOD_PATH that was used only once before I added the new test in this PS.\n\nBesides I think it is nice to see all the mock method path strings together. \n\nI prefer to keep this a global, if it is fine by you.","commit_id":"3bbdb436c1742799ab14875db484a79837c374ad"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"0f8d969db673d014dd4bc97de8837049f0f977f9","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"    @mock.patch(COMPARE_CONTEXT_METHOD_PATH)"},{"line_number":151,"context_line":"    def test_scheduler_call_target_method_with_correct_auth(self, method):"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        default_context \u003d base.get_context(default\u003dTrue)"},{"line_number":154,"context_line":"        auth_context.set_ctx(default_context)"},{"line_number":155,"context_line":"        default_project_id \u003d ("}],"source_content_type":"text/x-python","patch_set":5,"id":"7a740942_3662150b","line":152,"updated":"2015-12-08 15:00:36.000000000","message":"a blank line here","commit_id":"3bbdb436c1742799ab14875db484a79837c374ad"},{"author":{"_account_id":9408,"name":"Michal Gershenzon","email":"michal.gershenzon@gmail.com","username":"Mgershen"},"change_message_id":"432a0c5183f2d8f7df2c03b552d78bdd87cbdc44","unresolved":false,"context_lines":[{"line_number":149,"context_line":""},{"line_number":150,"context_line":"    @mock.patch(COMPARE_CONTEXT_METHOD_PATH)"},{"line_number":151,"context_line":"    def test_scheduler_call_target_method_with_correct_auth(self, method):"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        default_context \u003d base.get_context(default\u003dTrue)"},{"line_number":154,"context_line":"        auth_context.set_ctx(default_context)"},{"line_number":155,"context_line":"        default_project_id \u003d ("}],"source_content_type":"text/x-python","patch_set":5,"id":"7a740942_0206af1f","line":152,"in_reply_to":"7a740942_3662150b","updated":"2015-12-08 15:45:51.000000000","message":"Done","commit_id":"3bbdb436c1742799ab14875db484a79837c374ad"}]}
