Skip to content

fix(tests): resolve cross-platform path separator on Windows in test_builder_resolution - #6

Open
FREEqueenC wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
FREEqueenC:fix/cross-platform-path-resolution
Open

fix(tests): resolve cross-platform path separator on Windows in test_builder_resolution#6
FREEqueenC wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
FREEqueenC:fix/cross-platform-path-resolution

Conversation

@FREEqueenC

Copy link
Copy Markdown

Description

Fixes a path separator issue in test_builder_resolution_integrity when running offline validation tests on Windows environments.

Problem

On Windows, pathlib.Path objects stringify using backslashes (\). In test_builder_resolution.py line 60:

local_module_path = f"{str(rel_path).replace('/', '.')}.builder"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant