Skip to content
Snippets Groups Projects
Unverified Commit cbeae4d6 authored by Aditya Dange's avatar Aditya Dange Committed by GitHub
Browse files

Add MOCK_MODULES

Added MOCK_MODULES to mock Tango and PyTango
parent 2f6d0bd7
Branches
Tags
No related merge requests found
......@@ -15,6 +15,10 @@
import sys
import os
# Mock tango modules
MOCK_MODULES = ['PyTango', 'tango', 'run', 'DeviceMeta', 'command']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment