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

Refactor testing from patch to pytest fixtures #47

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

zacdezgeo
Copy link
Collaborator

@zacdezgeo zacdezgeo commented Sep 6, 2024

What I Changed

Refactor use of patch to pytest fixture

How to test it

CI is handling it, but you can also run python -m pytest tests within the space2stats_api/src directory.

Other notes

Closes #33

@zacdezgeo zacdezgeo added the enhancement New feature or request label Sep 6, 2024
@zacdezgeo zacdezgeo self-assigned this Sep 6, 2024
@zacdezgeo zacdezgeo changed the title Refactor testing from mocks to pytest fixtures Refactor testing from patch to pytest fixtures Sep 6, 2024
@zacdezgeo zacdezgeo force-pushed the refactor/pytest-fixture branch from 12bbf41 to e58f7fd Compare September 9, 2024 19:33
@zacdezgeo zacdezgeo marked this pull request as draft September 9, 2024 19:33
@zacdezgeo zacdezgeo marked this pull request as ready for review September 9, 2024 20:23
@zacdezgeo zacdezgeo merged commit 8d1cd7a into main Sep 9, 2024
2 checks passed
@zacdezgeo zacdezgeo deleted the refactor/pytest-fixture branch September 9, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor unit test strategy from mocking to pytest fixtures
2 participants