)]}'
{"openstack_dashboard/dashboards/admin/images/tests.py":[{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"dc82e88e5c2d4604daf3bf8d79c3821c866a6ff3","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        res \u003d self.client.get("},{"line_number":65,"context_line":"            reverse(\u0027horizon:admin:images:index\u0027))"},{"line_number":66,"context_line":"        self.assertContains(res, \u0027test_tenant\u0027, 8, 200)"},{"line_number":67,"context_line":"        self.assertTemplateUsed(res, \u0027admin/images/index.html\u0027)"},{"line_number":68,"context_line":"        self.assertEqual(len(res.context[\u0027images_table\u0027].data),"},{"line_number":69,"context_line":"                         len(self.images.list()))"}],"source_content_type":"text/x-python","patch_set":6,"id":"ba5201f7_bec85756","line":66,"updated":"2017-01-06 16:44:14.000000000","message":"This is not the first time I\u0027ve seen these tests need to change on unrelated changes, I think the design of the tests is flawed.","commit_id":"11a431457424b1e2cb1a8bc2b9f5869ee077206a"}],"openstack_dashboard/templatetags/context_selection.py":[{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"4344e3735552ac99661d914af37b96653a238ee1","unresolved":false,"context_lines":[{"line_number":72,"context_line":"    if \u0027request\u0027 not in context:"},{"line_number":73,"context_line":"        return {}"},{"line_number":74,"context_line":"    request \u003d context[\u0027request\u0027]"},{"line_number":75,"context_line":"    context \u003d {\u0027domain_name\u0027: request.user.user_domain_name,"},{"line_number":76,"context_line":"               \u0027request\u0027: request}"},{"line_number":77,"context_line":"    return context"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_d5b99516","line":75,"updated":"2017-01-05 22:40:25.000000000","message":"I think we want to use this value instead.","commit_id":"cb6e5004168bd9583f177a5ee587c62c23399470"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"4344e3735552ac99661d914af37b96653a238ee1","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    request \u003d context[\u0027request\u0027]"},{"line_number":87,"context_line":"    projects \u003d sorted(context[\u0027authorized_tenants\u0027],"},{"line_number":88,"context_line":"                      key\u003dlambda project: project.name.lower())"},{"line_number":89,"context_line":"    # Filter projects in the local domain"},{"line_number":90,"context_line":"    local_domain \u003d request.session[\u0027domain_token\u0027].domain_id"},{"line_number":91,"context_line":"    projects \u003d [p for p in projects if p.domain_id \u003d\u003d local_domain]"},{"line_number":92,"context_line":"    context \u003d {\u0027projects\u0027: projects[:max_proj],"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_b518911f","line":89,"updated":"2017-01-05 22:40:25.000000000","message":"we should put these two assignments in an if block that checks this \n\n  keystone.VERSIONS.active \u003e\u003d 3\n\nor maybe even better\n\n   is_multidomain_supported()\n\nas it won\u0027t matter in a single domain context.","commit_id":"cb6e5004168bd9583f177a5ee587c62c23399470"},{"author":{"_account_id":7400,"name":"Tracy Jones","email":"tjones@vmware.com","username":"tracyajones"},"change_message_id":"cc4329624c3be27fb4fca96d1b338d5ce972a37d","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    request \u003d context[\u0027request\u0027]"},{"line_number":87,"context_line":"    projects \u003d sorted(context[\u0027authorized_tenants\u0027],"},{"line_number":88,"context_line":"                      key\u003dlambda project: project.name.lower())"},{"line_number":89,"context_line":"    # Filter projects in the local domain"},{"line_number":90,"context_line":"    local_domain \u003d request.session[\u0027domain_token\u0027].domain_id"},{"line_number":91,"context_line":"    projects \u003d [p for p in projects if p.domain_id \u003d\u003d local_domain]"},{"line_number":92,"context_line":"    context \u003d {\u0027projects\u0027: projects[:max_proj],"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_95af0d29","line":89,"in_reply_to":"ba5201f7_b518911f","updated":"2017-01-05 23:03:18.000000000","message":"Done","commit_id":"cb6e5004168bd9583f177a5ee587c62c23399470"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"4344e3735552ac99661d914af37b96653a238ee1","unresolved":false,"context_lines":[{"line_number":87,"context_line":"    projects \u003d sorted(context[\u0027authorized_tenants\u0027],"},{"line_number":88,"context_line":"                      key\u003dlambda project: project.name.lower())"},{"line_number":89,"context_line":"    # Filter projects in the local domain"},{"line_number":90,"context_line":"    local_domain \u003d request.session[\u0027domain_token\u0027].domain_id"},{"line_number":91,"context_line":"    projects \u003d [p for p in projects if p.domain_id \u003d\u003d local_domain]"},{"line_number":92,"context_line":"    context \u003d {\u0027projects\u0027: projects[:max_proj],"},{"line_number":93,"context_line":"               \u0027project_id\u0027: request.user.project_id,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_153ebd8b","line":90,"updated":"2017-01-05 22:40:25.000000000","message":"domain token is not guaranteed to be there, so the get of domain_id may bomb. Let\u0027s use the value above.","commit_id":"cb6e5004168bd9583f177a5ee587c62c23399470"},{"author":{"_account_id":7400,"name":"Tracy Jones","email":"tjones@vmware.com","username":"tracyajones"},"change_message_id":"cc4329624c3be27fb4fca96d1b338d5ce972a37d","unresolved":false,"context_lines":[{"line_number":87,"context_line":"    projects \u003d sorted(context[\u0027authorized_tenants\u0027],"},{"line_number":88,"context_line":"                      key\u003dlambda project: project.name.lower())"},{"line_number":89,"context_line":"    # Filter projects in the local domain"},{"line_number":90,"context_line":"    local_domain \u003d request.session[\u0027domain_token\u0027].domain_id"},{"line_number":91,"context_line":"    projects \u003d [p for p in projects if p.domain_id \u003d\u003d local_domain]"},{"line_number":92,"context_line":"    context \u003d {\u0027projects\u0027: projects[:max_proj],"},{"line_number":93,"context_line":"               \u0027project_id\u0027: request.user.project_id,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_b5a89121","line":90,"in_reply_to":"ba5201f7_153ebd8b","updated":"2017-01-05 23:03:18.000000000","message":"Done","commit_id":"cb6e5004168bd9583f177a5ee587c62c23399470"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f52bb701051ec74f72c42c14253cb53217053af2","unresolved":false,"context_lines":[{"line_number":89,"context_line":"    # Filter projects in the local domain if in a multi-domain env"},{"line_number":90,"context_line":"    if is_multidomain_supported():"},{"line_number":91,"context_line":"        projects \u003d [p for p in projects if"},{"line_number":92,"context_line":"                    p.domain_id \u003d\u003d request.user.user_domain_id]"},{"line_number":93,"context_line":"    context \u003d {\u0027projects\u0027: projects[:max_proj],"},{"line_number":94,"context_line":"               \u0027project_id\u0027: request.user.project_id,"},{"line_number":95,"context_line":"               \u0027page_url\u0027: request.horizon.get(\u0027panel\u0027).get_absolute_url()}"}],"source_content_type":"text/x-python","patch_set":6,"id":"ba5201f7_bdc3b637","line":92,"updated":"2017-01-09 19:38:21.000000000","message":"Shouldn\u0027t we do this in DOA instead?","commit_id":"11a431457424b1e2cb1a8bc2b9f5869ee077206a"}]}
