mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #27474 from whiteinge/docs-pymongo-fix
Add fake pymongo version attribute for the docs
This commit is contained in:
commit
2f71833260
@ -123,8 +123,9 @@ MOCK_MODULES = [
|
|||||||
for mod_name in MOCK_MODULES:
|
for mod_name in MOCK_MODULES:
|
||||||
sys.modules[mod_name] = Mock()
|
sys.modules[mod_name] = Mock()
|
||||||
|
|
||||||
# Define a fake version attribute for libcloud so docs build as supposed
|
# Define a fake version attribute for the following libs.
|
||||||
sys.modules['libcloud'].__version__ = '0.0.0'
|
sys.modules['libcloud'].__version__ = '0.0.0'
|
||||||
|
sys.modules['pymongo'].version = '0.0.0'
|
||||||
|
|
||||||
|
|
||||||
# -- Add paths to PYTHONPATH ---------------------------------------------------
|
# -- Add paths to PYTHONPATH ---------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user