)]}'
{"placement/tests/unit/objects/base.py":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"f8904d5af81f5cf48ff3cab6df3a5ce849205eda","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from placement import resource_class_cache as rc_cache"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"RESOURCE_CLASS_NAME \u003d \u0027DISK_GB\u0027"},{"line_number":24,"context_line":"RESOURCE_CLASS_ID \u003d 2"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"def fake_ensure_cache(ctxt):"},{"line_number":28,"context_line":"    cache \u003d rc_cache.RC_CACHE \u003d mock.MagicMock()"},{"line_number":29,"context_line":"    cache.string_from_id.return_value \u003d RESOURCE_CLASS_NAME"},{"line_number":30,"context_line":"    cache.id_from_string.return_value \u003d RESOURCE_CLASS_ID"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class TestCase(testtools.TestCase):"}],"source_content_type":"text/x-python","patch_set":4,"id":"9fdfeff1_d2d64c54","line":30,"range":{"start_line":23,"start_character":0,"end_line":30,"end_character":57},"updated":"2019-03-05 14:21:34.000000000","message":"An rc cache fixture that contains only one resource class is kinda wonky, IMHO. But alas, this is how the existing code looks.","commit_id":"a0c109d03cbd2d30a2b1105c177fbdf7d721a98b"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"625bdc6cce548de6f3141339823b744a9cb90043","unresolved":false,"context_lines":[{"line_number":20,"context_line":"from placement import resource_class_cache as rc_cache"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"RESOURCE_CLASS_NAME \u003d \u0027DISK_GB\u0027"},{"line_number":24,"context_line":"RESOURCE_CLASS_ID \u003d 2"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"def fake_ensure_cache(ctxt):"},{"line_number":28,"context_line":"    cache \u003d rc_cache.RC_CACHE \u003d mock.MagicMock()"},{"line_number":29,"context_line":"    cache.string_from_id.return_value \u003d RESOURCE_CLASS_NAME"},{"line_number":30,"context_line":"    cache.id_from_string.return_value \u003d RESOURCE_CLASS_ID"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class TestCase(testtools.TestCase):"}],"source_content_type":"text/x-python","patch_set":4,"id":"5fc1f717_1e78d98d","line":30,"range":{"start_line":23,"start_character":0,"end_line":30,"end_character":57},"in_reply_to":"9fdfeff1_d2d64c54","updated":"2019-03-26 23:00:33.000000000","message":"Turns out we don\u0027t need them at all. https://review.openstack.org/647948","commit_id":"a0c109d03cbd2d30a2b1105c177fbdf7d721a98b"}]}
