[doc/fix] fix doc building

This commit is contained in:
Laurent Peuch 2019-08-04 19:05:33 +02:00
parent 004a8e5567
commit f1ac5b8fe6
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -1,3 +1,5 @@
sphinx sphinx
gnupg gnupg
mock mock
pyyaml
toml