A pytest plugin that reports test results to the BeakerLib framework.
Once installed, this plugin can be activated via the
This requires a BeakerLib session (i.e.
rlJournalStart should have been run,
$BEAKERLIB is set)
The plugin is also available in Fedora repositories as
A Bash process is run on the side, and BeakerLib commands (
rlFail, ...) are fed to it.
This is not very elegant, but since BeakerLib commands are Bash functions,
there is no way around running Bash.
Other plugins may integrate with this using pytest's
config.pluginmanager.getplugin('BeakerLibPlugin'). If this is
BeakerLib integration is not active, otherwise the result's
run_beakerlib_command method can be used to run additional commands.
The project is happy to accept patches! Please file any patches as Pull Requests on the project's Pagure repo. Any development discussion should be in Pagure Pull Requests and Issues.