Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lmc-base-classes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LOFAR2.0
lmc-base-classes
Commits
cbeae4d6
Unverified
Commit
cbeae4d6
authored
Jan 29, 2019
by
Aditya Dange
Committed by
GitHub
Jan 29, 2019
Browse files
Options
Downloads
Patches
Plain Diff
Add MOCK_MODULES
Added MOCK_MODULES to mock Tango and PyTango
parent
2f6d0bd7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/source/conf.py
+4
-0
4 additions, 0 deletions
docs/source/conf.py
with
4 additions
and
0 deletions
docs/source/conf.py
+
4
−
0
View file @
cbeae4d6
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment