)]}'
{"taskflow/tests/unit/worker_based/test_proxy.py":[{"author":{"_account_id":9608,"name":"Pranesh Pandurangan","email":"praneshpg@gmail.com","username":"pran1990"},"change_message_id":"9f872f1008166e85b6b1e28d208eb2a181076a58","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        # connection mocking"},{"line_number":49,"context_line":"        self.conn_inst_mock.drain_events.side_effect \u003d ["},{"line_number":50,"context_line":"            kombu_exc.TimeoutError,"},{"line_number":51,"context_line":"            kombu_exc.TimeoutError,"},{"line_number":52,"context_line":"            KeyboardInterrupt"},{"line_number":53,"context_line":"        ]"},{"line_number":54,"context_line":"        self.conn_inst_mock.heartbeat \u003d None"}],"source_content_type":"text/x-python","patch_set":8,"id":"baada198_f3f4725c","line":51,"updated":"2014-07-06 03:19:30.000000000","message":"Is this just a list of possible errors, or something to throw in this order? Just trying to understand why TimeoutError is here twice.","commit_id":"73150e3960bb4f82e986b3f0c5ff30c1ed33eb88"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"ec48eb12dc329ccfb51940468aea7759f546b03f","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        # connection mocking"},{"line_number":49,"context_line":"        self.conn_inst_mock.drain_events.side_effect \u003d ["},{"line_number":50,"context_line":"            kombu_exc.TimeoutError,"},{"line_number":51,"context_line":"            kombu_exc.TimeoutError,"},{"line_number":52,"context_line":"            KeyboardInterrupt"},{"line_number":53,"context_line":"        ]"},{"line_number":54,"context_line":"        self.conn_inst_mock.heartbeat \u003d None"}],"source_content_type":"text/x-python","patch_set":8,"id":"baada198_f60b80d3","line":51,"in_reply_to":"baada198_f3f4725c","updated":"2014-07-06 03:39:49.000000000","message":"Good question, its a list of errors that will be raised each time drain_events() is called. So there will be 2 timeout errors and then a keyboard interrupt error (this last one will be used by the tests to stop the proxy). The first two timeouts are just so the proxy does something.\n\nBtw kombu_exc.TimeoutError is a alias for socket.timeout (so thats why this is changed also, better to just use the alias I think).","commit_id":"73150e3960bb4f82e986b3f0c5ff30c1ed33eb88"}]}
