2018-03-26 11:25:04 -04:00
|
|
|
"""Testing hooks package.
|
|
|
|
|
|
2017-06-14 20:44:52 -04:00
|
|
|
Package containing classes to customize the behavior of a test fixture
|
|
|
|
|
by allowing special code to be executed before or after each test, and
|
|
|
|
|
before or after each suite.
|
|
|
|
|
"""
|
|
|
|
|
|
2020-06-17 17:41:54 +03:00
|
|
|
from buildscripts.resmokelib.testing.hooks.interface import make_hook
|
|
|
|
|
from buildscripts.resmokelib.utils import autoloader as _autoloader
|
2017-06-14 20:44:52 -04:00
|
|
|
|
2024-10-03 17:52:26 -07:00
|
|
|
__all__ = ["make_hook"]
|
|
|
|
|
|
2018-02-27 11:29:41 -05:00
|
|
|
# We dynamically load all modules in the hooks/ package so that any Hook classes declared
|
2017-06-14 20:44:52 -04:00
|
|
|
# within them are automatically registered.
|
2018-03-27 14:30:46 -04:00
|
|
|
_autoloader.load_all_modules(name=__name__, path=__path__) # type: ignore
|