)]}'
{"nova/tests/fixtures.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"df9c9f83c6b624a85f8d1d86aa59b40121d3fef7","unresolved":false,"context_lines":[{"line_number":2028,"context_line":"            for cell in up_cell_mappings:"},{"line_number":2029,"context_line":"                ctxt.cell_uuid \u003d cell.uuid"},{"line_number":2030,"context_line":"                cctxt \u003d context.RequestContext.from_dict(ctxt.to_dict())"},{"line_number":2031,"context_line":"                context.set_target_cell(cctxt, cell)"},{"line_number":2032,"context_line":"                result \u003d fn(cctxt, *args, **kwargs)"},{"line_number":2033,"context_line":"                ret2[cell.uuid] \u003d result"},{"line_number":2034,"context_line":"            return dict(list(ret1.items()) + list(ret2.items()))"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_ebeada71","line":2031,"range":{"start_line":2031,"start_character":16,"end_line":2031,"end_character":52},"updated":"2019-02-15 14:16:23.000000000","message":"OK so this now permanently targets the context to the cell unlike before where it was only for the duration of the call to fn.","commit_id":"31f048c689c6c750b0199a412922c87149e17bbf"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"307b04aeae919c8f663903b261e2b6c5c570d2c6","unresolved":false,"context_lines":[{"line_number":2028,"context_line":"            for cell in up_cell_mappings:"},{"line_number":2029,"context_line":"                ctxt.cell_uuid \u003d cell.uuid"},{"line_number":2030,"context_line":"                cctxt \u003d context.RequestContext.from_dict(ctxt.to_dict())"},{"line_number":2031,"context_line":"                context.set_target_cell(cctxt, cell)"},{"line_number":2032,"context_line":"                result \u003d fn(cctxt, *args, **kwargs)"},{"line_number":2033,"context_line":"                ret2[cell.uuid] \u003d result"},{"line_number":2034,"context_line":"            return dict(list(ret1.items()) + list(ret2.items()))"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_fcc85e22","line":2031,"range":{"start_line":2031,"start_character":16,"end_line":2031,"end_character":52},"in_reply_to":"9fdfeff1_ebeada71","updated":"2019-02-15 16:02:37.000000000","message":"Yes although it doesn\u0027t have the same behavior really in tests that it would in production. Hopefully the tests that use this fixture are confined enough to not run afoul of the fact that we really have to stub out a ton of database underpinnings to make this work properly (which is why she had to add L2037).","commit_id":"31f048c689c6c750b0199a412922c87149e17bbf"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"df9c9f83c6b624a85f8d1d86aa59b40121d3fef7","unresolved":false,"context_lines":[{"line_number":2048,"context_line":"                down_cell_uuids \u003d [cell.uuid"},{"line_number":2049,"context_line":"                    for cell in self.down_cell_mappings]"},{"line_number":2050,"context_line":"                if cell_mapping.uuid in down_cell_uuids:"},{"line_number":2051,"context_line":"                    # its a down cell raise the exception staright away"},{"line_number":2052,"context_line":"                    raise db_exc.DBError()"},{"line_number":2053,"context_line":"                else:"},{"line_number":2054,"context_line":"                    # its an up cell, so yield its context"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_ab85b2ae","line":2051,"range":{"start_line":2051,"start_character":58,"end_line":2051,"end_character":66},"updated":"2019-02-15 14:16:23.000000000","message":"straight","commit_id":"31f048c689c6c750b0199a412922c87149e17bbf"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"2107f0672bde88c59d51fc152f84165b9b024a85","unresolved":false,"context_lines":[{"line_number":2048,"context_line":"                down_cell_uuids \u003d [cell.uuid"},{"line_number":2049,"context_line":"                    for cell in self.down_cell_mappings]"},{"line_number":2050,"context_line":"                if cell_mapping.uuid in down_cell_uuids:"},{"line_number":2051,"context_line":"                    # its a down cell raise the exception staright away"},{"line_number":2052,"context_line":"                    raise db_exc.DBError()"},{"line_number":2053,"context_line":"                else:"},{"line_number":2054,"context_line":"                    # its an up cell, so yield its context"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_59cc1788","line":2051,"range":{"start_line":2051,"start_character":58,"end_line":2051,"end_character":66},"in_reply_to":"9fdfeff1_ab85b2ae","updated":"2019-02-15 18:37:43.000000000","message":"Done","commit_id":"31f048c689c6c750b0199a412922c87149e17bbf"}],"nova/tests/unit/test_fixtures.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"df9c9f83c6b624a85f8d1d86aa59b40121d3fef7","unresolved":false,"context_lines":[{"line_number":595,"context_line":"                delattr(inst2, \u0027id\u0027)"},{"line_number":596,"context_line":"            inst2.create()"},{"line_number":597,"context_line":""},{"line_number":598,"context_line":"        def dummy_tester(ctxt, cell_mapping, uuid\u003dNone):"},{"line_number":599,"context_line":"            with context.target_cell(ctxt, cell_mapping) as cctxt:"},{"line_number":600,"context_line":"                return objects.Instance.get_by_uuid(cctxt, uuid)"},{"line_number":601,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_ab2132b6","line":598,"range":{"start_line":598,"start_character":49,"end_line":598,"end_character":54},"updated":"2019-02-15 14:16:23.000000000","message":"This isn\u0027t needed.","commit_id":"31f048c689c6c750b0199a412922c87149e17bbf"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"2107f0672bde88c59d51fc152f84165b9b024a85","unresolved":false,"context_lines":[{"line_number":595,"context_line":"                delattr(inst2, \u0027id\u0027)"},{"line_number":596,"context_line":"            inst2.create()"},{"line_number":597,"context_line":""},{"line_number":598,"context_line":"        def dummy_tester(ctxt, cell_mapping, uuid\u003dNone):"},{"line_number":599,"context_line":"            with context.target_cell(ctxt, cell_mapping) as cctxt:"},{"line_number":600,"context_line":"                return objects.Instance.get_by_uuid(cctxt, uuid)"},{"line_number":601,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_59917751","line":598,"range":{"start_line":598,"start_character":49,"end_line":598,"end_character":54},"in_reply_to":"9fdfeff1_ab2132b6","updated":"2019-02-15 18:37:43.000000000","message":"Done","commit_id":"31f048c689c6c750b0199a412922c87149e17bbf"}]}
