| 1 | # Configuration file for multihost tests. |
| 2 | |
| 3 | from __future__ import annotations |
| 4 | |
| 5 | from authselect_test_framework.config import AuthselectMultihostConfig |
| 6 | from pytest_mh import MultihostPlugin |
| 7 | |
| 8 | pytest_plugins = ( |
| 9 | "pytest_importance", |
| 10 | "pytest_mh", |
| 11 | "pytest_ticket", |
| 12 | "pytest_tier", |
| 13 | "authselect_test_framework.fixtures", |
| 14 | "authselect_test_framework.markers", |
| 15 | ) |
| 16 | |
| 17 | |
| 18 | def pytest_plugin_registered(plugin) -> None: |
| 19 | if isinstance(plugin, MultihostPlugin): |
| 20 | plugin.config_class = AuthselectMultihostConfig |