[doc] try fixing this ldap crap for doc building

This commit is contained in:
Laurent Peuch 2017-08-12 21:00:28 +02:00
parent 2999020386
commit 67e8a0271f

View file

@ -29,7 +29,7 @@ class Mock(MagicMock):
def __getattr__(cls, name):
return MagicMock()
MOCK_MODULES = ['ldap']
MOCK_MODULES = ['ldap', 'ldap.modlist']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)