38af642d2f
This adds a useful hook to be used for projects that use stestr, it is primiative at the moment but covers most scenarios for using it. This PR also changes a Python module to start using it, once it lands, follow up PRs can update all of them to use it tree-wide. Signed-off-by: Vinetos <contact+git@vinetos.fr>