)]}'
{"README.rst":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"dee1ecb5ed38046a2caf2a55916bdd92e0610c03","unresolved":false,"context_lines":[{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"},{"line_number":43,"context_line":"variable `OS_DEBUG`. In this case a mock of `time.time` will cause many more"},{"line_number":44,"context_line":"calls due to the usage it in the logging module. A usage of such a mock should"},{"line_number":45,"context_line":"be avoided. A workaround is to overload the `_fake_logs` function in a base"},{"line_number":46,"context_line":"class but this will deactivate fake logging globally."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3ae8d1ca_e84a7126","line":45,"updated":"2014-05-27 14:44:06.000000000","message":"be avoided when a test needs to verify logging behavior.","commit_id":"b486abcc9f2fc02527623d3cbeb7d5ff4a03553e"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"9e6184a3817c42876ffaa3eeb56da97ee6b6f55e","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Known Issues"},{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Mocking `time.time`"},{"line_number":40,"context_line":"-------------------"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_15a9847b","line":39,"updated":"2014-06-06 16:18:34.000000000","message":"Use `` for rst -- ``time.time``","commit_id":"07f3614f33dea9d327fec6440c117f2c4daebdbd"},{"author":{"_account_id":7872,"name":"Marc Koderer","email":"marc@koderer.com","username":"mkoderer"},"change_message_id":"28124096f365bddefd8d4f64b5d7eac62a52e188","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Known Issues"},{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Mocking `time.time`"},{"line_number":40,"context_line":"-------------------"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_d4e6f043","line":39,"in_reply_to":"1ae5cdf2_15a9847b","updated":"2014-06-10 07:42:24.000000000","message":"Done","commit_id":"07f3614f33dea9d327fec6440c117f2c4daebdbd"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"9e6184a3817c42876ffaa3eeb56da97ee6b6f55e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"Mocking `time.time`"},{"line_number":40,"context_line":"-------------------"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"},{"line_number":43,"context_line":"variable `OS_DEBUG`. In this case a mock of `time.time` will cause many more"},{"line_number":44,"context_line":"calls due to the usage it in the logging module. A usage of such a mock should"},{"line_number":45,"context_line":"be avoided when a test needs to verify logging behavior or counts the number of"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_d5771c3a","line":42,"updated":"2014-06-06 16:18:34.000000000","message":"is \"this library\" \u003d\u003d \"oslo.test\" , or part of it? Just importing it will do this?","commit_id":"07f3614f33dea9d327fec6440c117f2c4daebdbd"},{"author":{"_account_id":7872,"name":"Marc Koderer","email":"marc@koderer.com","username":"mkoderer"},"change_message_id":"28124096f365bddefd8d4f64b5d7eac62a52e188","unresolved":false,"context_lines":[{"line_number":39,"context_line":"Mocking `time.time`"},{"line_number":40,"context_line":"-------------------"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"},{"line_number":43,"context_line":"variable `OS_DEBUG`. In this case a mock of `time.time` will cause many more"},{"line_number":44,"context_line":"calls due to the usage it in the logging module. A usage of such a mock should"},{"line_number":45,"context_line":"be avoided when a test needs to verify logging behavior or counts the number of"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_745b5cf6","line":42,"in_reply_to":"1ae5cdf2_d5771c3a","updated":"2014-06-10 07:42:24.000000000","message":"Yep if by inheritance of the base class. I rephrased it slightly to be more precise.","commit_id":"07f3614f33dea9d327fec6440c117f2c4daebdbd"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"9e6184a3817c42876ffaa3eeb56da97ee6b6f55e","unresolved":false,"context_lines":[{"line_number":40,"context_line":"-------------------"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"},{"line_number":43,"context_line":"variable `OS_DEBUG`. In this case a mock of `time.time` will cause many more"},{"line_number":44,"context_line":"calls due to the usage it in the logging module. A usage of such a mock should"},{"line_number":45,"context_line":"be avoided when a test needs to verify logging behavior or counts the number of"},{"line_number":46,"context_line":"invocations. A workaround is to overload the `_fake_logs` function in a base"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_55ba2cc1","line":43,"updated":"2014-06-06 16:18:34.000000000","message":"use `` for rst.","commit_id":"07f3614f33dea9d327fec6440c117f2c4daebdbd"},{"author":{"_account_id":7872,"name":"Marc Koderer","email":"marc@koderer.com","username":"mkoderer"},"change_message_id":"28124096f365bddefd8d4f64b5d7eac62a52e188","unresolved":false,"context_lines":[{"line_number":40,"context_line":"-------------------"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"},{"line_number":43,"context_line":"variable `OS_DEBUG`. In this case a mock of `time.time` will cause many more"},{"line_number":44,"context_line":"calls due to the usage it in the logging module. A usage of such a mock should"},{"line_number":45,"context_line":"be avoided when a test needs to verify logging behavior or counts the number of"},{"line_number":46,"context_line":"invocations. A workaround is to overload the `_fake_logs` function in a base"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_f4e12c2b","line":43,"in_reply_to":"1ae5cdf2_55ba2cc1","updated":"2014-06-10 07:42:24.000000000","message":"Done","commit_id":"07f3614f33dea9d327fec6440c117f2c4daebdbd"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"9e6184a3817c42876ffaa3eeb56da97ee6b6f55e","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"},{"line_number":43,"context_line":"variable `OS_DEBUG`. In this case a mock of `time.time` will cause many more"},{"line_number":44,"context_line":"calls due to the usage it in the logging module. A usage of such a mock should"},{"line_number":45,"context_line":"be avoided when a test needs to verify logging behavior or counts the number of"},{"line_number":46,"context_line":"invocations. A workaround is to overload the `_fake_logs` function in a base"},{"line_number":47,"context_line":"class but this will deactivate fake logging globally."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_75e648ea","line":44,"updated":"2014-06-06 16:18:34.000000000","message":"ah, will be called many more times... suggest change the sentence \"In this case a mock...\" to:\n\nA mock of ``time.time`` will be called many more times than might be expected because it\u0027s called often by the logging module.","commit_id":"07f3614f33dea9d327fec6440c117f2c4daebdbd"},{"author":{"_account_id":7872,"name":"Marc Koderer","email":"marc@koderer.com","username":"mkoderer"},"change_message_id":"28124096f365bddefd8d4f64b5d7eac62a52e188","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Usage of this library may change the log level by setting the environment"},{"line_number":43,"context_line":"variable `OS_DEBUG`. In this case a mock of `time.time` will cause many more"},{"line_number":44,"context_line":"calls due to the usage it in the logging module. A usage of such a mock should"},{"line_number":45,"context_line":"be avoided when a test needs to verify logging behavior or counts the number of"},{"line_number":46,"context_line":"invocations. A workaround is to overload the `_fake_logs` function in a base"},{"line_number":47,"context_line":"class but this will deactivate fake logging globally."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1ae5cdf2_14d05852","line":44,"in_reply_to":"1ae5cdf2_75e648ea","updated":"2014-06-10 07:42:24.000000000","message":"Done","commit_id":"07f3614f33dea9d327fec6440c117f2c4daebdbd"}]}
