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

Reduce code duplication in test_readme.py #104

Open
diazona opened this issue Oct 11, 2023 · 0 comments
Open

Reduce code duplication in test_readme.py #104

diazona opened this issue Oct 11, 2023 · 0 comments
Labels
enhancement New feature or request tests Improvements or additions to tests

Comments

@diazona
Copy link
Owner

diazona commented Oct 11, 2023

In test_readme.py there are some pairs of tests that test essentially the same thing but with one using setup.py and the other using setup.cfg. It would be nice if there were a way to reduce that duplication, maybe by writing a fixture that can take the attributes to test as input and write out either file as needed.

Based on a comment on PR #103

@diazona diazona added enhancement New feature or request tests Improvements or additions to tests labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Improvements or additions to tests
Projects
None yet
Development

No branches or pull requests

1 participant