components/python/glance_store/patches/no-tests.patch
changeset 6787 a2032b82c122
parent 5405 66fd59fecd68
equal deleted inserted replaced
6786:c424280db93e 6787:a2032b82c122
     1 In-house patch to remove the reference to glance_store's tests in the
     1 In-house patch to remove the reference to glance_store's tests in the
     2 Python package's entry_points.txt file. Without this change, a warning
     2 Python package's entry_points.txt file. Without this change, a warning
     3 is printed in some of the Glance service logs. Not suitable for the
     3 is printed in some of the Glance service logs. Not suitable for the
     4 upstream.
     4 upstream.
     5 
     5 
     6 --- glance_store-0.4.0/setup.cfg.orig	2014-11-17 12:15:39.000000000 -0800
     6 --- glance_store-0.13.0/setup.cfg.~1~	2016-03-03 07:33:51.000000000 +0000
     7 +++ glance_store-0.4.0/setup.cfg	2015-01-27 09:38:35.386243430 -0800
     7 +++ glance_store-0.13.0/setup.cfg	2016-09-06 17:03:27.304396117 +0000
     8 @@ -33,8 +33,6 @@ glance_store.drivers =
     8 @@ -33,8 +33,6 @@ glance_store.drivers =
       
     9  	sheepdog = glance_store._drivers.sheepdog:Store
     9  	cinder = glance_store._drivers.cinder:Store
    10  	cinder = glance_store._drivers.cinder:Store
    10  	gridfs = glance_store._drivers.gridfs:Store
       
    11  	vmware = glance_store._drivers.vmware_datastore:Store
    11  	vmware = glance_store._drivers.vmware_datastore:Store
    12 -	# TESTS ONLY
    12 -	# TESTS ONLY
    13 -	no_conf = glance_store.tests.fakes:UnconfigurableStore
    13 -	no_conf = glance_store.tests.fakes:UnconfigurableStore
    14  	# Backwards compatibility
    14  	# Backwards compatibility
    15  	glance.store.filesystem.Store = glance_store._drivers.filesystem:Store
    15  	glance.store.filesystem.Store = glance_store._drivers.filesystem:Store