)]}'
{"nova/tests/functional/regressions/test_bug_1746509.py":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"e1ab45a7662c6621e3b4a85bc8206401b2a3ee96","unresolved":false,"context_lines":[{"line_number":54,"context_line":"                                host\u003d\u0027fake-host\u0027)"},{"line_number":55,"context_line":"        inst.create()"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"        cells \u003d objects.CellMappingList.get_all(self.context)"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        inst_mapping \u003d objects.InstanceMapping("},{"line_number":60,"context_line":"            context\u003dself.context, project_id\u003dinst.project_id,"},{"line_number":61,"context_line":"            instance_uuid\u003dinst.uuid, cell_mapping\u003dcells[1])"},{"line_number":62,"context_line":"        inst_mapping.create()"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        # TODO(melwitt): Remove this assert when the bug is fixed."},{"line_number":65,"context_line":"        self.assertRaises(TypeError, objects.InstanceList.get_by_filters,"}],"source_content_type":"text/x-python","patch_set":1,"id":"df7087c5_4eaca58b","line":62,"range":{"start_line":57,"start_character":8,"end_line":62,"end_character":29},"updated":"2018-03-21 23:36:01.000000000","message":"Don\u0027t need this stuff, this is a holdover from the repro I did on the pike branch.","commit_id":"df7d3da37e86b00383316fd8e2e9e2e2000f593f"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"839a374ff9909ff0abe5fa2f91cf4c6de0382447","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        # Create a nova-compute service record with a host that will match the"},{"line_number":46,"context_line":"        # instance\u0027s host, with no uuid. We can\u0027t do this through the"},{"line_number":47,"context_line":"        # Service object because it will automatically generate a uuid."},{"line_number":48,"context_line":"        db.service_create(self.context, {\u0027host\u0027: \u0027fake-host\u0027,"},{"line_number":49,"context_line":"                                         \u0027binary\u0027: \u0027nova-compute\u0027})"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        # Create an instance whose host will match the service with no uuid"},{"line_number":52,"context_line":"        inst \u003d objects.Instance(context\u003dself.context,"}],"source_content_type":"text/x-python","patch_set":2,"id":"df7087c5_7c3ca8c7","line":49,"range":{"start_line":48,"start_character":8,"end_line":49,"end_character":67},"updated":"2018-03-22 20:11:04.000000000","message":"nit: assert that the service record returned doesn\u0027t have a uuid set.","commit_id":"bc363ccd929fefbb59c92e5243974876b9aef1b2"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"839a374ff9909ff0abe5fa2f91cf4c6de0382447","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        inst.create()"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"        # TODO(melwitt): Remove this assert when the bug is fixed."},{"line_number":58,"context_line":"        self.assertRaises(TypeError, objects.InstanceList.get_by_filters,"},{"line_number":59,"context_line":"                          self.context, {}, expected_attrs\u003d[\u0027services\u0027])"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"        # TODO(melwitt): Uncomment this assert when the bug is fixed."}],"source_content_type":"text/x-python","patch_set":2,"id":"df7087c5_fc28b886","line":58,"updated":"2018-03-22 20:11:04.000000000","message":"How about making sure you\u0027re getting the TypeError you expect by checking the error message, i.e.:\n\n  ex \u003d self.assertRaises(TypeError, ...)\n  self.assertIn(\u0027Can\u0027t upgrade a READER transaction to a WRITER mid-transaction\u0027, six.text_type(ex))","commit_id":"bc363ccd929fefbb59c92e5243974876b9aef1b2"}]}
