Fixes a doc build exception caused by missing mocks for modules.win_dacl

This commit is contained in:
Jacob Hammons 2016-03-18 17:43:36 -06:00
parent 398ab909f0
commit 31bb573abc

View file

@ -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 ---------------------------------------------------