Skip to content

Commit

Permalink
add all dependenceis to mock list
Browse files Browse the repository at this point in the history
  • Loading branch information
Scisco committed May 29, 2015
1 parent 49d1139 commit 9095a1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
import sys
from mock import Mock as MagicMock


class Mock(MagicMock):
@classmethod
def __getattr__(cls, name):
return Mock()

MOCK_MODULES = ['numpy', 'rasterio', 'scipy', 'scikit-image', 'homura', 'boto']
MOCK_MODULES = ['numpy', 'rasterio', 'scipy', 'scikit-image', 'homura', 'boto',
'termcolor', 'requests', 'python-dateutil']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

import os
Expand Down

0 comments on commit 9095a1c

Please sign in to comment.