api-docs: Add mock dlib module.
This commit is contained in:
parent
1799e9b949
commit
9073a50f9a
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in New Issue