)]}'
{"nova/tests/unit/objects/test_instance.py":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"689923c44ce018c5884e1d6b86a9170fe3678fc5","unresolved":false,"context_lines":[{"line_number":1135,"context_line":""},{"line_number":1136,"context_line":"            @classmethod"},{"line_number":1137,"context_line":"            def obj_name(cls):"},{"line_number":1138,"context_line":"                return \u0027Instance\u0027"},{"line_number":1139,"context_line":""},{"line_number":1140,"context_line":"        inst \u003d OldInstance.get_by_uuid(self.context, inst.uuid)"},{"line_number":1141,"context_line":"        self.assertFalse(inst.obj_attr_is_set(\u0027system_metadata\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_eea91391","side":"PARENT","line":1138,"updated":"2015-02-04 01:17:36.000000000","message":"Just for reference for future reviewers, this OldInstance object is masquerading as an Instance for the purposes of testing that the flavor migration stuff works for older instances (note the version override that is *still* in place). The problem is, instances are auto-registered when they\u0027re defined so this fake object will be in the registry from the point that this test is run until we\u0027re done. If it\u0027s run before some of the other instance tests above, it will start being returned from the registry when something asks for a new \"instance\" object, and with the older version. So, if this runs before some of the other version-dependent tests earlier in this file, those tests will fail.\n\nThe thing we need to test doesn\u0027t actually depend on the fact that this fake object masquerades as a proper \"instance\" so we can remove that bit and things still work fine.","commit_id":"20e7c0b63fff0e7d6f939709bdca4f1040053130"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"64414615b0c95f67096135409a10d2938f6b8a30","unresolved":false,"context_lines":[{"line_number":1135,"context_line":""},{"line_number":1136,"context_line":"            @classmethod"},{"line_number":1137,"context_line":"            def obj_name(cls):"},{"line_number":1138,"context_line":"                return \u0027Instance\u0027"},{"line_number":1139,"context_line":""},{"line_number":1140,"context_line":"        inst \u003d OldInstance.get_by_uuid(self.context, inst.uuid)"},{"line_number":1141,"context_line":"        self.assertFalse(inst.obj_attr_is_set(\u0027system_metadata\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"da86d52c_c2018306","side":"PARENT","line":1138,"in_reply_to":"da86d52c_eea91391","updated":"2015-02-04 01:39:07.000000000","message":"Thanks.","commit_id":"20e7c0b63fff0e7d6f939709bdca4f1040053130"}]}
