

def test_servers_rebuild(self):
    subs = {
        'image_id': fake.get_valid_image_id(),
        'host': self._get_host(),
        'glance_host': self._get_glance_host(),
        'access_ip_v4': '1.2.3.4',
        'access_ip_v6': '80fe::',
    }
    uuid = self._post_server(use_common_server_api_samples=False)
    response = self._do_post(('servers/%s/action' % self), 'server-action-rebuild-req', subs)
    subs['hostid'] = '[a-f0-9]+'
    subs['id'] = uuid
    self._verify_response('server-action-rebuild-resp', subs, response, 202)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/functional/api_sample_tests/test_personality.py PersonalitySampleJsonTest.test_servers_rebuild/VarMisuse@73/136 `uuid`->`self`