summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/hooks/__init__.py
blob: 87efcd1c964e71d5c0767ac18fbbd575c607d876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Testing hooks package.

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.
"""

from __future__ import absolute_import

from .interface import make_hook
from ...utils import autoloader as _autoloader

# We dynamically load all modules in the hooks/ package so that any Hook classes declared
# within them are automatically registered.
_autoloader.load_all_modules(name=__name__, path=__path__)