| 1 | from __future__ import annotations |
| 2 | |
| 3 | from unittest.mock import patch |
| 4 | |
| 5 | import pytest |
| 6 | |
| 7 | _DEFAULT_CONFIG = { |
| 8 | "update_log": False, |
| 9 | "suppress_xml": True, |
| 10 | } |
| 11 | |
| 12 | |
| 13 | @pytest.fixture(autouse=True) |
| 14 | def _mock_plugin_config(): |
| 15 | with patch( |
| 16 | "helpers.plugins.get_plugin_config", |
| 17 | return_value=_DEFAULT_CONFIG, |
| 18 | ): |
| 19 | yield |