diff --git a/vizro-core/hatch.toml b/vizro-core/hatch.toml index 10ef7fa46..e24870c6b 100644 --- a/vizro-core/hatch.toml +++ b/vizro-core/hatch.toml @@ -36,7 +36,7 @@ features = ["kedro"] installer = "uv" [envs.default.env-vars] -PYTHONPATH = "tests/e2e/vizro/dashboards/default:tests/tests_utils" +PYTHONPATH = "tests/e2e/vizro/dashboards/default:tests/tests_utils:tests/e2e/vizro/custom_components" [envs.default.scripts] download-static-files = "python tools/download_static_files.py" diff --git a/vizro-core/pyproject.toml b/vizro-core/pyproject.toml index bedb9ae8c..fd4f80fc9 100644 --- a/vizro-core/pyproject.toml +++ b/vizro-core/pyproject.toml @@ -93,7 +93,7 @@ markers = [ "mobile_screenshots: marks tests for chrome mobile screenshots" ] norecursedirs = ["tests/tests_utils", "tests/js"] -pythonpath = ["tests/tests_utils", "tests/e2e/vizro/custom_components"] +pythonpath = ["tests/tests_utils"] [tool.ruff] extend = "../pyproject.toml"