File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 44import pytest
55
66from tests .test_safe_key_display_helper_usage import ALLOWED_SAFE_KEY_DISPLAY_CALL_FILES
7+ from tests .test_mapping_utils_import_boundary import EXPECTED_MAPPING_EXTRA_IMPORTERS
78
89pytestmark = pytest .mark .architecture
910
1011
11- EXPECTED_SAFE_KEY_DISPLAY_EXTRA_IMPORTERS = ("tests/test_mapping_utils.py" ,)
12-
13-
1412def _imports_safe_key_display_helper (module_text : str ) -> bool :
1513 module_ast = ast .parse (module_text )
1614 for node in module_ast .body :
@@ -42,6 +40,6 @@ def test_safe_key_display_helper_imports_are_centralized():
4240 if path != Path ("mapping_utils.py" )
4341 )
4442 expected_modules = sorted (
45- [* expected_runtime_modules , * EXPECTED_SAFE_KEY_DISPLAY_EXTRA_IMPORTERS ]
43+ [* expected_runtime_modules , * EXPECTED_MAPPING_EXTRA_IMPORTERS ]
4644 )
4745 assert discovered_modules == expected_modules
You can’t perform that action at this time.
0 commit comments