From: Eric Harney Date: Wed, 9 Mar 2016 15:41:55 +0000 (-0500) Subject: Exclude test.py from sample conf X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=93872ce717dc1706c930ec018aa9f3ae58f17b7b;p=openstack-build%2Fcinder-build.git Exclude test.py from sample conf This removes "sqlite_clean_db" from the sample conf file, which is only applicable for unit tests. Closes-Bug: #1554575 Change-Id: Ic877f490274d773c53bd107da173752a5f63d43d --- diff --git a/cinder/config/generate_cinder_opts.py b/cinder/config/generate_cinder_opts.py index 7f1922947..763d6ec1b 100644 --- a/cinder/config/generate_cinder_opts.py +++ b/cinder/config/generate_cinder_opts.py @@ -75,7 +75,8 @@ if __name__ == "__main__": if atree in ["cinder/config/generate_cinder_opts.py", "cinder/hacking/checks.py", - "cinder/volume/configuration.py", ]: + "cinder/volume/configuration.py", + "cinder/test.py"]: continue dirs_list = atree.split('/') diff --git a/cinder/opts.py b/cinder/opts.py index bedea755c..146342df1 100644 --- a/cinder/opts.py +++ b/cinder/opts.py @@ -56,7 +56,6 @@ from cinder.scheduler.weights import volume_number as \ cinder_scheduler_weights_volumenumber from cinder import service as cinder_service from cinder import ssh_utils as cinder_sshutils -from cinder import test as cinder_test from cinder.transfer import api as cinder_transfer_api from cinder.volume import api as cinder_volume_api from cinder.volume import driver as cinder_volume_driver @@ -218,7 +217,6 @@ def list_opts(): cinder_backup_drivers_tsm.tsm_opts, cinder_volume_drivers_fujitsu_eternusdxcommon. FJ_ETERNUS_DX_OPT_opts, - cinder_test.test_opts, cinder_volume_drivers_ibm_gpfs.gpfs_opts, cinder_volume_drivers_violin_v7000common.violin_opts, cinder_volume_drivers_nexenta_options.NEXENTA_CONNECTION_OPTS,