Exemple #1
0
import modulefaker

modulefaker.fake_module('nos_brick')
del globals()['modulefaker']
Exemple #2
0
# Get the project root dir, which is the parent dir of this
cwd = os.getcwd()
project_root = os.path.dirname(cwd)

# Insert the project root dir as the first element in the PYTHONPATH.
# This lets us ensure that the source package is imported, and that its
# version is used.
sys.path.insert(0, project_root)

import modulefaker

for module in ('cinderlib', 'google', 'google.protobuf', 'eventlet',
               'kubernetes', 'grpc', 'concurrent', 'os_brick',
               'os_brick.initiator', 'oslo_concurrency', 'oslo_log',
               'oslo_context'):
    modulefaker.fake_module(module)


import ember_csi

# -- General configuration ---------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Exemple #3
0
import modulefaker

modulefaker.fake_module('cinder')
del globals()['modulefaker']