Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

🧪 Fixes and simplifications to tests #103

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mattmess1221
Copy link

Most important change is the added conftest.reset_imports fixture, which restores the state of sys.modules after each test, similar to conftest.resset_syspath.

Other changes rewrites duplicated tests to use pytest.mark.parametrize and replaces tests.utils.changing_dir to use monkeypatch.chdir

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant