521057dd97
Importing pkg_resources scans all of the installed modules for data that won't be used. Switch to using importlib.metdata, which more efficiently loads the metadata for a package. Since the name of the module where importlib.metadata is found depends on the version of python, mocking a function in the library is more complicated. Provide a wrapper in the module that uses importlib.metadata.version() so its tests can examine behavior using different versions via mocks. The distutils package in the standard library is deprecated. Use the packaging library for parsing version strings into something that can be compared. Change-Id: I45d0851cdb5f241ff8dc774dc22123b410502cd9 Signed-off-by: Doug Hellmann <doug@doughellmann.com> |
||
---|---|---|
.. | ||
compliance | ||
functional | ||
hacking | ||
unit | ||
README.rst | ||
__init__.py | ||
fake_driver.py | ||
fixtures.py |
README.rst
IMPORTANT DEFINITION OF TESTS IN CINDER
Cinder has a number of different test types, PLEASE be sure to refer to the Cinder Testing Docs to familiarize yourself with the various options before creating any new tests.
Please check Cinder-Testing.