Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed neutron-db-manage without neutron/tests installed
With 7c0f189 in tree, we made neutron-db-manage require neutron/tests/tools.py installed. Some distributions, like RDO, may split the python package into core package and the one that contains python code needed for testing only (anything under neutron/tests/), and hence don't guarantee that all setups have neutron.tests package available. This fix moves the import_module_recursively function from neutron.tests.tools into neutron.common.utils because it has non-testing use cases. All existing cases where we use the function switched to the new location. The old symbol still works, though triggers a deprecation warning, and will be removed in the next cycle. Change-Id: Ia8d91a1704c894bc1f6cf14e6cdd971fab255b62 Closes-Bug: #1612959
- Loading branch information
Showing
6 changed files
with
58 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.