mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-27 06:14:09 +00:00
19 lines
399 B
Python
19 lines
399 B
Python
# Configuration file for multihost tests.
|
|
|
|
from __future__ import annotations
|
|
|
|
from pytest_mh import MultihostPlugin
|
|
|
|
from framework.config import ShadowMultihostConfig
|
|
|
|
# Load additional plugins
|
|
pytest_plugins = (
|
|
"pytest_mh",
|
|
"pytest_ticket",
|
|
)
|
|
|
|
|
|
def pytest_plugin_registered(plugin) -> None:
|
|
if isinstance(plugin, MultihostPlugin):
|
|
plugin.config_class = ShadowMultihostConfig
|