Skip to content
Snippets Groups Projects
Commit 0fc2b98d authored by ojs1g14's avatar ojs1g14
Browse files

Update conf.py

parent fb65f1a9
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,10 @@ import sys
sys.path.insert(0, os.path.abspath('../'))
sys.path.insert(0, os.path.abspath('.'))
from unittest.mock import Mock
from unittest.mock import MagicMock
sys.modules["PyQt5.sip"] = Mock()
MOCK_MODULE = ["sip", "PyQt5", "PyQt5.QtGui"]
for i in MOCK_MODULE: sys.modules[i] = MagicMock()
#from mock import Mock as MagicMock
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment