labgrid.pytestplugin package

Submodules

labgrid.pytestplugin.fixtures module

labgrid.pytestplugin.fixtures.pytest_addoption(parser)[source]
labgrid.pytestplugin.fixtures.env(request, record_testsuite_property)[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.fixtures.strategy(request, target)[source]

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

labgrid.pytestplugin.hooks module

labgrid.pytestplugin.hooks.pytest_cmdline_main(config)[source]
labgrid.pytestplugin.hooks.configure_pytest_logging(config, plugin)[source]
labgrid.pytestplugin.hooks.pytest_configure(config)[source]
labgrid.pytestplugin.hooks.pytest_collection_modifyitems(config, items)[source]

This function matches function feature flags with those found in the environment and disables the item if no match is found