)]}'
{"doc/source/dev/testing.rst":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"def6aea4aa9b4514fef755863e8aa4098af04c70","unresolved":false,"context_lines":[{"line_number":44,"context_line":"Dangling Mock Detector"},{"line_number":45,"context_line":"----------------------"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"All trove unit tests should extend \u0027trove_testtools.TestCase\u0027."},{"line_number":48,"context_line":"It is a subclass of \u0027testtools.TestCase\u0027 which automatically checks for"},{"line_number":49,"context_line":"dangling mock objects at each test class teardown."},{"line_number":50,"context_line":"It marks the tests as failed and reports the leaked reference if it"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a89bdaa_ebaa93d1","line":47,"range":{"start_line":47,"start_character":4,"end_line":47,"end_character":5},"updated":"2016-09-12 11:10:35.000000000","message":"T is correct here.","commit_id":"bea3344136be1780e2313bb620e339054f9b6107"},{"author":{"_account_id":21069,"name":"Carl caihui","email":"caihui_nj@163.com","username":"caihui"},"change_message_id":"22601b9c2ae181ab7cecbf19a097d167f3005858","unresolved":false,"context_lines":[{"line_number":44,"context_line":"Dangling Mock Detector"},{"line_number":45,"context_line":"----------------------"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"All trove unit tests should extend \u0027trove_testtools.TestCase\u0027."},{"line_number":48,"context_line":"It is a subclass of \u0027testtools.TestCase\u0027 which automatically checks for"},{"line_number":49,"context_line":"dangling mock objects at each test class teardown."},{"line_number":50,"context_line":"It marks the tests as failed and reports the leaked reference if it"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a89bdaa_60e2f930","line":47,"range":{"start_line":47,"start_character":4,"end_line":47,"end_character":5},"in_reply_to":"9a89bdaa_ebaa93d1","updated":"2016-09-12 23:10:52.000000000","message":"ok,Thanks!","commit_id":"bea3344136be1780e2313bb620e339054f9b6107"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"026ae4f627227d4e9bceea032c76aaad48855057","unresolved":false,"context_lines":[{"line_number":22,"context_line":"modules that never get restored) have been causing various transient"},{"line_number":23,"context_line":"failures in the unit test suite."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"The main issues posed by dangling mock objects include:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    - Such object references propagate across the entire test suite. Any"},{"line_number":28,"context_line":"    caller may be hit by a non-functional - or worse - crippled module member"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a89bdaa_9e059a12","line":25,"range":{"start_line":25,"start_character":54,"end_line":25,"end_character":55},"updated":"2016-09-13 00:25:51.000000000","message":"Removing the double \u0027::\u0027 causes the page to render incorrectly.  Either it has to have the double \u0027:\u0027 or it has to look something like:\n\nThe main issues posed by dangling mock objects include:\n\n    - Such object references propagate across the entire test suite. Any\n      caller may be hit by a non-functional - or worse - crippled module member\n      because some other (potentially totally unrelated) test case failed to\n      restore it.\n    - Dangling mock references shared across different test modules may\n      lead to unexpected results/behavior in multi-threaded environments. One\n      example could be a test case failing because a mock got called multiple\n      times from unrelated modules.\n\nNote the different indentation of the bullet points.\n\nA web page that shows how the code is rendered can be found at: http://rst.ninjs.org/","commit_id":"9be381fbc47a5819419cb527e84cf2577b45ddbb"},{"author":{"_account_id":21069,"name":"Carl caihui","email":"caihui_nj@163.com","username":"caihui"},"change_message_id":"8684c2af84ca5d2fadc72c02b98ad7f81af2f2bb","unresolved":false,"context_lines":[{"line_number":22,"context_line":"modules that never get restored) have been causing various transient"},{"line_number":23,"context_line":"failures in the unit test suite."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"The main issues posed by dangling mock objects include:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    - Such object references propagate across the entire test suite. Any"},{"line_number":28,"context_line":"    caller may be hit by a non-functional - or worse - crippled module member"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a89bdaa_7e2d3645","line":25,"range":{"start_line":25,"start_character":54,"end_line":25,"end_character":55},"in_reply_to":"9a89bdaa_9e059a12","updated":"2016-09-13 00:37:55.000000000","message":"I understand，Thanks very much!","commit_id":"9be381fbc47a5819419cb527e84cf2577b45ddbb"}]}
