Files
mongo/buildscripts/resmokelib/testing/hooks/__init__.py
Juan Gu 2513cc511b SERVER-94076 Remove unused imports via Ruff rule (#27337)
GitOrigin-RevId: 8923cc14f276be93355d763cb88c04bdb4dd9000
2024-10-04 01:43:13 +00:00

16 lines
575 B
Python

"""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 buildscripts.resmokelib.testing.hooks.interface import make_hook
from buildscripts.resmokelib.utils import autoloader as _autoloader
__all__ = ["make_hook"]
# 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__) # type: ignore