]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Exclude test.py from sample conf
authorEric Harney <eharney@redhat.com>
Wed, 9 Mar 2016 15:41:55 +0000 (10:41 -0500)
committerEric Harney <eharney@redhat.com>
Wed, 9 Mar 2016 15:42:52 +0000 (10:42 -0500)
This removes "sqlite_clean_db" from the sample conf
file, which is only applicable for unit tests.

Closes-Bug: #1554575

Change-Id: Ic877f490274d773c53bd107da173752a5f63d43d

cinder/config/generate_cinder_opts.py
cinder/opts.py

index 7f1922947acbbbf074267c4dc5443c3e9b8b87b3..763d6ec1b169c57ddb44c572127c4b85f63c91b8 100644 (file)
@@ -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('/')
index bedea755c15a40bff2668be27e69167889305062..146342df1f909c31472fc00d39448645b9934c72 100644 (file)
@@ -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,