Skip to content

Commit

Permalink
Mocking both fitsio, cv2 and opencv-python. Attempt 15
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoBektesevic committed Jan 15, 2019
1 parent 5025f0c commit 41feb4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Mock(MagicMock):
def __getattr__(cls, name):
return MagicMock()

MOCK_MODULES = ['cv2']
MOCK_MODULES = ['cv2', 'opencv-python', 'fitsio']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)


Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
'astropy',
'fitsio',
'Pillow',
'opencv-python',
],
)

0 comments on commit 41feb4d

Please sign in to comment.