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

Fix live-services tests (dandi) on windows #1151

Merged
merged 2 commits into from
Dec 6, 2024
Merged

Conversation

h-mayorquin
Copy link
Collaborator

We are getting failure on dandi tests on windows for well known reasons:

#1086

The teardown mechanism of the unittest structure removes the directory which fails sometimes on windows because of permissions. This PR changes the testing from unittest to pytest so instead of using the ad-hoc teardown it uses pytest tmp_path methods which should be safer.

@h-mayorquin h-mayorquin marked this pull request as ready for review December 4, 2024 21:56
@h-mayorquin h-mayorquin changed the title Fix dandi tests Fix live-services tests (dandi) on windows Dec 5, 2024
@h-mayorquin h-mayorquin self-assigned this Dec 5, 2024
Copy link
Member

@pauladkisson pauladkisson left a comment

Choose a reason for hiding this comment

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

Looks good!

@h-mayorquin h-mayorquin merged commit 54e6ea9 into main Dec 6, 2024
41 checks passed
@h-mayorquin h-mayorquin deleted the fix_dandi_test branch December 6, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants