File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44import pytest
55
66from tests .test_mapping_reader_usage import MAPPING_READER_TARGET_FILES
7+ from tests .test_tool_mapping_reader_usage import TOOLS_MODULE
78
89pytestmark = pytest .mark .architecture
910
1011
1112EXPECTED_MAPPING_EXTRA_IMPORTERS = ("tests/test_mapping_utils.py" ,)
12- MAPPING_TOOL_IMPORTER = Path ("hyperbrowser/tools/__init__.py" )
1313
1414
1515def _imports_mapping_utils (module_text : str ) -> bool :
@@ -37,7 +37,7 @@ def test_mapping_utils_imports_are_centralized():
3737 discovered_modules .append (module_path .as_posix ())
3838
3939 expected_runtime_modules = sorted (
40- [* (path .as_posix () for path in MAPPING_READER_TARGET_FILES ), MAPPING_TOOL_IMPORTER .as_posix ()]
40+ [* (path .as_posix () for path in MAPPING_READER_TARGET_FILES ), TOOLS_MODULE .as_posix ()]
4141 )
4242 expected_modules = sorted ([* expected_runtime_modules , * EXPECTED_MAPPING_EXTRA_IMPORTERS ])
4343 assert discovered_modules == expected_modules
You can’t perform that action at this time.
0 commit comments