)]}'
{"neutron/tests/unit/objects/test_base.py":[{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"cd230b1e20c39437a6e9ed07ecbd296ed609b463","unresolved":false,"context_lines":[{"line_number":553,"context_line":"                \u0027All non-updatable fields found in test class %r \u0027"},{"line_number":554,"context_line":"                \u0027are primary keys\u0027 % self._test_class)"},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"        for key, val in self.db_obj.items():"},{"line_number":557,"context_line":"            if key in self._test_class.primary_keys:"},{"line_number":558,"context_line":"                setattr(obj, key, val)"},{"line_number":559,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_67587533","line":556,"updated":"2016-04-18 11:07:34.000000000","message":"meh, db_obj here should also be changed, otherwise we get an error when trying to set the attribute line 558 if the attribute needs to be modified.","commit_id":"b7cf5d5bfa35ed10a237de362466eb24a609e317"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"956e8117ec1c73ac8d96e32d0b5b663cc7752968","unresolved":false,"context_lines":[{"line_number":350,"context_line":"        for db_obj in db_objs:"},{"line_number":351,"context_line":"            for field in self._test_class.synthetic_fields:"},{"line_number":352,"context_line":"                if self._test_class.is_object_field(field):"},{"line_number":353,"context_line":"                    obj_class \u003d obj_base.VersionedObjectRegistry.obj_classes("},{"line_number":354,"context_line":"                                    ).get(self._test_class.fields["},{"line_number":355,"context_line":"                                        field].objname)[0]"},{"line_number":356,"context_line":"                    mock_calls.append("}],"source_content_type":"text/x-python","patch_set":2,"id":"1a122d0e_a76e0d2d","line":353,"updated":"2016-04-18 11:21:06.000000000","message":"ouch :)","commit_id":"62ebc6e19fa837e282d960d78be2c61157b4bb3a"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"956e8117ec1c73ac8d96e32d0b5b663cc7752968","unresolved":false,"context_lines":[{"line_number":486,"context_line":"                side_effect\u003dself.fake_get_objects):"},{"line_number":487,"context_line":"                obj \u003d self._test_class(self.context, **self.obj_fields[0])"},{"line_number":488,"context_line":"                # get new values and fix keys"},{"line_number":489,"context_line":"                update_mock.return_value \u003d self.obj_fields[1].copy()"},{"line_number":490,"context_line":"                for key, value in obj._get_composite_keys().items():"},{"line_number":491,"context_line":"                    update_mock.return_value[key] \u003d value"},{"line_number":492,"context_line":"                obj.update()"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a122d0e_07f2616f","line":489,"updated":"2016-04-18 11:21:06.000000000","message":"Hm. Why would update_mock return object fields? It should return db_obj still.","commit_id":"62ebc6e19fa837e282d960d78be2c61157b4bb3a"},{"author":{"_account_id":15518,"name":"Artur Korzeniewski","email":"artur.korzen@wp.pl","username":"akorzeni"},"change_message_id":"cdf7bcb4da6b21f402bc0c8416e0285e6c2afddb","unresolved":false,"context_lines":[{"line_number":486,"context_line":"                side_effect\u003dself.fake_get_objects):"},{"line_number":487,"context_line":"                obj \u003d self._test_class(self.context, **self.obj_fields[0])"},{"line_number":488,"context_line":"                # get new values and fix keys"},{"line_number":489,"context_line":"                update_mock.return_value \u003d self.obj_fields[1].copy()"},{"line_number":490,"context_line":"                for key, value in obj._get_composite_keys().items():"},{"line_number":491,"context_line":"                    update_mock.return_value[key] \u003d value"},{"line_number":492,"context_line":"                obj.update()"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a122d0e_3d9dea59","line":489,"in_reply_to":"1a122d0e_07f2616f","updated":"2016-04-18 11:57:32.000000000","message":"Yes, you are right, thanks! My mistake :(","commit_id":"62ebc6e19fa837e282d960d78be2c61157b4bb3a"}]}
