def setUp(self):
    super(ExtensionTestCase, self).setUp()
    ext_list = FLAGS.osapi_compute_extension[:]
    fox = 'nova.tests.api.openstack.compute.extensions.foxinsocks.Foxinsocks'
    if (fox not in ext_list):
        ext_list.append(fox)
        self.flags(osapi_compute_extension=ext_list)
def setUp(self):
    super(ExtensionTestCase, self).setUp()
    ext_list = FLAGS.osapi_compute_extension[:]
    fox = 'nova.tests.api.openstack.compute.extensions.foxinsocks.Foxinsocks'
    if (fox not in ext_list):
        ext_list.append(fox)
        self.flags(osapi_compute_extension=ext_list)