)]}'
{"nova/tests/unit/virt/libvirt/storage/test_rbd.py":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"d9b773f54e7227eab3c3b3da84b94d12392f98e7","unresolved":false,"context_lines":[{"line_number":418,"context_line":"        client.__exit__.assert_called_once_with(None, None, None)"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"    @mock.patch(\u0027oslo_service.loopingcall.LoopingCallBase._sleep\u0027,"},{"line_number":421,"context_line":"                new\u003dmock.Mock())"},{"line_number":422,"context_line":"    @mock.patch.object(rbd_utils, \u0027RADOSClient\u0027)"},{"line_number":423,"context_line":"    def _test_cleanup_exception(self, exception_name, mock_client):"},{"line_number":424,"context_line":"        instance \u003d objects.Instance(id\u003d1, uuid\u003duuids.instance,"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_fca10f48","line":421,"updated":"2020-08-19 18:23:16.000000000","message":"This looked familiar to me and I found this an old patch of mine [1] where I was guided to use the SleepFixture from oslo.service to mock loopingcall sleep instead:\n\nhttps://github.com/openstack/oslo.service/blob/58466a6ee00b9ab6adb5588665b8ba1f9fa3f148/oslo_service/fixture.py#L16\n\n[1] https://review.opendev.org/615724","commit_id":"4ba23996d036914f2ab7889db9af4ce6997ebc48"}]}
