labgrid.pytestplugin package

Submodules

labgrid.pytestplugin.fixtures module

labgrid.pytestplugin.fixtures.pytest_addoption(parser)[source]
labgrid.pytestplugin.fixtures.env(request)[source]

Return the environment configured in the supplied configuration file. It contains the targets contained in the configuration file.

labgrid.pytestplugin.fixtures.target(env)[source]

Return the default target main configured in the supplied configuration file.

labgrid.pytestplugin.reporter module

labgrid.pytestplugin.reporter.bold(text)[source]
labgrid.pytestplugin.reporter.under(text)[source]
labgrid.pytestplugin.reporter.pytest_configure(config)[source]
class labgrid.pytestplugin.reporter.StepReporter(terminalreporter, *, rewrite=False)[source]

Bases: object

notify(event)[source]
pytest_runtest_logstart()[source]
pytest_runtest_logreport(report)[source]