Skip to content

Commit

Permalink
Mock is not needed for docs, fix missing new line
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Oct 22, 2019
1 parent 6d3f6e9 commit 221da6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 0 additions & 11 deletions docs/conf.py
Expand Up @@ -30,17 +30,6 @@
# and fall back to 'default' if neither of those are available
HTML_THEME = 'default'

# Mock C modules (needed for bitly, jira and rt plugins)
from mock import Mock as MagicMock

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

MOCK_MODULES = ['kerberos', 'urllib2_kerberos', 'bitly_api']
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.
Expand Down
1 change: 1 addition & 0 deletions docs/examples.rst
Expand Up @@ -173,6 +173,7 @@ can be found at storage_setup__::
/block_map_cache_size

__ https://github.com/jkrysl/storage_setup

You can find here not only how to use FMF for setup/cleanup
and group tests based on that, but also installing requirements,
passing values from metadata to tests themself and much more.
Expand Down

0 comments on commit 221da6c

Please sign in to comment.