mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixes a doc build exception caused by missing mocks for modules.win_dacl
This commit is contained in:
parent
398ab909f0
commit
31bb573abc
1 changed files with 5 additions and 0 deletions
|
@ -118,6 +118,9 @@ MOCK_MODULES = [
|
|||
'yum',
|
||||
'OpenSSL',
|
||||
'zfs',
|
||||
'salt.ext.six.moves.winreg',
|
||||
'win32security',
|
||||
'ntsecuritycon',
|
||||
]
|
||||
|
||||
for mod_name in MOCK_MODULES:
|
||||
|
@ -126,6 +129,8 @@ for mod_name in MOCK_MODULES:
|
|||
# Define a fake version attribute for the following libs.
|
||||
sys.modules['libcloud'].__version__ = '0.0.0'
|
||||
sys.modules['pymongo'].version = '0.0.0'
|
||||
sys.modules['ntsecuritycon'].STANDARD_RIGHTS_REQUIRED = 0
|
||||
sys.modules['ntsecuritycon'].SYNCHRONIZE = 0
|
||||
|
||||
|
||||
# -- Add paths to PYTHONPATH ---------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue