api-docs: Add mock dlib module.

This commit is contained in:
Brandon Amos 2015-12-29 16:04:21 -05:00
parent 1799e9b949
commit 9073a50f9a
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class Mock(MagicMock):
def __getattr__(cls, name): def __getattr__(cls, name):
return Mock() return Mock()
MOCK_MODULES = ['argparse', 'numpy', 'pandas', 'cv2'] MOCK_MODULES = ['argparse', 'cv2', 'dlib', 'numpy', 'pandas']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
extensions = [ extensions = [