2018-03-27 14:30:46 -04:00
|
|
|
"""Fixture for executing JSTests against."""
|
2015-05-08 14:20:43 -04:00
|
|
|
|
2024-10-10 10:59:18 -07:00
|
|
|
from buildscripts.resmokelib.testing.fixtures._builder import make_fixture
|
2020-06-17 17:41:54 +03:00
|
|
|
from buildscripts.resmokelib.testing.fixtures.external import ExternalFixture as _ExternalFixture
|
|
|
|
|
from buildscripts.resmokelib.testing.fixtures.interface import NoOpFixture as _NoOpFixture
|
|
|
|
|
from buildscripts.resmokelib.utils import autoloader as _autoloader
|
2015-05-08 14:20:43 -04:00
|
|
|
|
2018-10-08 17:32:36 -04:00
|
|
|
EXTERNAL_FIXTURE_CLASS = _ExternalFixture.REGISTERED_NAME
|
2017-09-01 17:40:29 -04:00
|
|
|
NOOP_FIXTURE_CLASS = _NoOpFixture.REGISTERED_NAME
|
2015-05-08 14:20:43 -04:00
|
|
|
|
2024-10-03 17:52:26 -07:00
|
|
|
__all__ = ["make_fixture"]
|
|
|
|
|
|
2017-06-14 20:44:52 -04:00
|
|
|
# We dynamically load all modules in the fixtures/ package so that any Fixture classes declared
|
|
|
|
|
# within them are automatically registered.
|
2018-03-27 14:30:46 -04:00
|
|
|
_autoloader.load_all_modules(name=__name__, path=__path__) # type: ignore
|