cfme.fixtures.nelson module

class cfme.fixtures.nelson.GoogleDocstring(*args, **kwargs)[source]

Bases: sphinx.ext.napoleon.docstring.GoogleDocstring

Custom version of napoleon’s GoogleDocstring that adds some special cases

cfme.fixtures.nelson.get_meta(obj)[source]
cfme.fixtures.nelson.pytest_collection_modifyitems(items)[source]
cfme.fixtures.nelson.pytest_pycollect_makeitem(collector, name, obj)[source]

pytest hook that adds docstring metadata (if found) to a test’s meta mark

cfme.fixtures.nelson.setup(app)[source]

Sphinx extension setup function.

cfme.fixtures.nelson.stripper(docstring)[source]

Slightly smarter dedent

It strips a docstring’s first line indentation and dedents the rest