)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"b71e62346aac7e84b7cb3ce2182437e7ca462bc8","unresolved":false,"context_lines":[{"line_number":10,"context_line":"Each time new instance of novaclient is created and each time method"},{"line_number":11,"context_line":"discover_extensions is called."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"`discover_extensions` can take some \"real\" time to discovere extension via"},{"line_number":14,"context_line":"python path and entry points. To reduce this time, let\u0027s cache the results."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Also, this patch joins two test cases for one method in one class."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7af24918_eb554f50","line":13,"range":{"start_line":13,"start_character":51,"end_line":13,"end_character":60},"updated":"2016-03-02 17:40:43.000000000","message":"femtonit: s/discovere/discover/","commit_id":"9e5508395fff08ab6e0c56908bf0baabfcb76395"}],"novaclient/tests/unit/test_discover.py":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"a74f88665f1aa4800788f623261bb1034eeee66e","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    @mock.patch(\"novaclient.client._discover_via_contrib_path\")"},{"line_number":101,"context_line":"    @mock.patch(\"novaclient.client._discover_via_python_path\")"},{"line_number":102,"context_line":"    @mock.patch(\"novaclient.extension.Extension\")"},{"line_number":103,"context_line":"    def test_cache(self, mock_extension,"},{"line_number":104,"context_line":"                   mock_discover_via_python_path,"},{"line_number":105,"context_line":"                   mock_discover_via_contrib_path,"},{"line_number":106,"context_line":"                   mock_discover_via_entry_points):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aef4532_7c73304e","line":103,"updated":"2016-03-07 10:50:16.000000000","message":"I do worry if this test is a bit sensitive to when it is called.\n\nMaybe it should reset the cache first?","commit_id":"9e5508395fff08ab6e0c56908bf0baabfcb76395"}]}
