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

Refactoring test_findgendir #537

Merged
merged 7 commits into from
May 9, 2024
Merged

Conversation

junkmd
Copy link
Collaborator

@junkmd junkmd commented May 8, 2024

This is a reintroduce of the patch approach which is used in test_client_regenerate_modules I wrote in #533.

test_findgendir was written at a time when unittest.mock.patch was not supported in the standard library, so the temporary patch approach was classical.

While my memory of the sys.modules and import system is still fresh, I refactored these test codebases.

@junkmd junkmd added the tests enhance or fix tests label May 8, 2024
@junkmd junkmd added this to the 1.4.3 milestone May 8, 2024
@junkmd junkmd merged commit 1ed13f2 into enthought:main May 9, 2024
25 checks passed
@junkmd junkmd deleted the refactoring_findgendir branch May 9, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests enhance or fix tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant