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

test: convert all unit tests to Pytest #151

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

Conversation

daabr
Copy link
Contributor

@daabr daabr commented Jan 9, 2025

Decided to use the pytest-mock plugin instead of the built-in monkeypatch which requires a lot more boilerplate in Purrr's tests.

Refs: INT-171

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main feedback here is similar to the comments on the original PR itself. markdown_test.py doesn’t seem specifically related to purrr. It feels more appropriate to place it in the autokitteh repository rather than kittehub.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, in the separate PR. The unit tests will be the same either way.

Base automatically changed from daniel/int-159-purrr-ut to main January 9, 2025 19:08
@daabr daabr force-pushed the daniel/int-171-pytest branch from 8b21f7a to d295fac Compare January 9, 2025 19:12
@daabr daabr force-pushed the daniel/int-171-pytest branch from d295fac to 6b2396e Compare January 9, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants