Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tests Windows compatible #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gege-hoho
Copy link
Collaborator

The tests were not working on Windows due to the Path Structure

@gege-hoho gege-hoho force-pushed the feature/fix_test_for_windows branch from 19a4dd7 to 7655bf2 Compare February 3, 2023 15:11
Comment on lines +22 to +24
drive = ''
if arch_project_paths[1].drive:
drive = arch_project_paths[1].drive
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can replace this with just drive = arch_project_paths[1].drive?
On non-Windows systems drive should be an empty string.

Comment on lines +49 to +51
drive = ''
if arch_project_paths[1].drive:
drive = arch_project_paths[1].drive
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

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.

2 participants