glance_store.tests package¶
Subpackages¶
- glance_store.tests.functional package
- glance_store.tests.unit package
- Submodules
- glance_store.tests.unit.test_backend module
- glance_store.tests.unit.test_cinder_store module
- glance_store.tests.unit.test_connection_manager module
- glance_store.tests.unit.test_exceptions module
- glance_store.tests.unit.test_filesystem_store module
- glance_store.tests.unit.test_http_store module
- glance_store.tests.unit.test_opts module
- glance_store.tests.unit.test_rbd_store module
- glance_store.tests.unit.test_sheepdog_store module
- glance_store.tests.unit.test_store_base module
- glance_store.tests.unit.test_store_capabilities module
- glance_store.tests.unit.test_swift_store module
- glance_store.tests.unit.test_swift_store_utils module
- glance_store.tests.unit.test_vmware_store module
- Module contents
Submodules¶
glance_store.tests.base module¶
-
class
glance_store.tests.base.
StoreBaseTest
(*args, **kwds)¶ Bases:
oslotest.base.BaseTestCase
-
config
(**kw)¶ Override some configuration values.
The keyword arguments are the names of configuration options to override and their values.
If a group argument is supplied, the overrides are applied to the specified configuration option group.
All overrides are automatically cleared at the end of the current test by the fixtures cleanup process.
-
copy_data_file
(file_name, dst_dir)¶
-
register_store_schemes
(store, store_entry)¶
-
setUp
()¶
-
glance_store.tests.fakes module¶
-
class
glance_store.tests.fakes.
UnconfigurableStore
(conf)¶ Bases:
glance_store.driver.Store
-
configure
(re_raise_bsc=False)¶
-
glance_store.tests.utils module¶
-
class
glance_store.tests.utils.
FakeHTTPResponse
(status=200, headers=None, data=None, *args, **kwargs)¶ Bases:
object
-
close
()¶
-
getheader
(name, default=None)¶
-
getheaders
()¶
-
read
(amt)¶
-
release_conn
()¶
-
-
glance_store.tests.utils.
fake_response
(status_code=200, headers=None, content=None, **kwargs)¶
-
glance_store.tests.utils.
sort_url_by_qs_keys
(url)¶