Skip to content

Commit

Permalink
Removing mock code. Attempt 16
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoBektesevic committed Jan 15, 2019
1 parent 41feb4d commit f2935c5
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,6 @@
#sys.path.insert(0, os.path.abspath("/home/dino/Desktop/lfd"))
#sys.path.insert(0, os.path.abspath('.'))


import sys
from unittest.mock import MagicMock

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

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


# -- Project information -----------------------------------------------------
project = 'lfd'
copyright = '2019, Dino Bektesevic'
Expand Down

0 comments on commit f2935c5

Please sign in to comment.