Skip to content

Reduce code duplication in test_readme.py #104

@diazona

Description

@diazona

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttestsImprovements or additions to tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions