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

[MNT] Refactor preprocess tests #738

Merged
merged 13 commits into from
Aug 20, 2024

Conversation

markotoplak
Copy link
Collaborator

Testing common preprocessor functionality - also lovingly called torture tests - relied on putting preprocessors into a special list in test_preprocess.py. This prevented reusing tests in other repositories.

An example of a PR that could benefit them: Quasars/orange-snom/pull/4

This PR refactors preprocessor tests so that torture tests can now be mixed into the test class.

@markotoplak
Copy link
Collaborator Author

So this helped me find a bug in the other repo even though I honestly though that nothing can be wrong there... Tests are useful.

@markotoplak
Copy link
Collaborator Author

This PR should not break anything (it is only tests). I'll review the code again and then merge it.

@markotoplak markotoplak merged commit 86d7b11 into Quasars:master Aug 20, 2024
10 of 14 checks passed
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