We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25ab658 commit ba07fdcCopy full SHA for ba07fdc
1 file changed
shared/connector_linter/tests/conftest.py
@@ -10,6 +10,7 @@
10
Severity,
11
)
12
from connector_linter.registry import CheckRegistry
13
+from connector_linter.runner import _import_checks_modules
14
15
16
@pytest.fixture()
@@ -18,6 +19,7 @@ def _clean_registry():
18
19
20
Tests that register throwaway checks won't leak into other tests.
21
"""
22
+ _import_checks_modules() # ensure all real checks are loaded before saving
23
saved = dict(CheckRegistry._checks)
24
yield
25
CheckRegistry._checks.clear()
0 commit comments