2018-03-26 17:25:04 +02:00
|
|
|
"""Testing hooks package.
|
|
|
|
|
2017-06-15 02:44:52 +02: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.
|
|
|
|
"""
|
|
|
|
|
2018-02-27 17:29:41 +01:00
|
|
|
from .interface import make_hook
|
2017-06-15 02:44:52 +02:00
|
|
|
from ...utils import autoloader as _autoloader
|
|
|
|
|
2018-02-27 17:29:41 +01:00
|
|
|
# We dynamically load all modules in the hooks/ package so that any Hook classes declared
|
2017-06-15 02:44:52 +02:00
|
|
|
# within them are automatically registered.
|
2018-03-27 20:30:46 +02:00
|
|
|
_autoloader.load_all_modules(name=__name__, path=__path__) # type: ignore
|