From 98a7161f6260e4164095ba3d864584e474647f90 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 13 Dec 2012 15:08:12 -0500 Subject: Fix use of osapi_compute_extension option in api_samples. Change: I682fa491dd1435814b73404d91df3387504c3e39 changed the scope of the osapi_compute_extension but didn't update it's use in test_api_samples.py. This prevents the tests from being run individually because the option is no longer in nova.config. The CONF.import() for osapi_compute_extension now refers to the proper location: nova.api.openstack.compute.contrib Change-Id: I5d0f15c41e2d6e118a075872e706e91d6555dd39 --- nova/tests/integrated/test_api_samples.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nova/tests/integrated/test_api_samples.py b/nova/tests/integrated/test_api_samples.py index 0e2cba7a9..4f73f6bfe 100644 --- a/nova/tests/integrated/test_api_samples.py +++ b/nova/tests/integrated/test_api_samples.py @@ -41,7 +41,8 @@ from nova.tests.integrated import integrated_helpers CONF = cfg.CONF CONF.import_opt('allow_resize_to_same_host', 'nova.compute.api') -CONF.import_opt('osapi_compute_extension', 'nova.config') +CONF.import_opt('osapi_compute_extension', + 'nova.api.openstack.compute.extensions') CONF.import_opt('vpn_image_id', 'nova.config') CONF.import_opt('osapi_compute_link_prefix', 'nova.api.openstack.common') CONF.import_opt('osapi_glance_link_prefix', 'nova.api.openstack.common') -- cgit