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

Setup pytest #14

Open
4 of 7 tasks
pavelprokhorenko opened this issue Aug 10, 2023 · 0 comments · May be fixed by #19
Open
4 of 7 tasks

Setup pytest #14

pavelprokhorenko opened this issue Aug 10, 2023 · 0 comments · May be fixed by #19
Assignees
Labels
enhancement New feature or request

Comments

@pavelprokhorenko
Copy link
Owner

pavelprokhorenko commented Aug 10, 2023

  • install pytest
  • add base fixtures:
    • create test database (if not exists)
    • upgrade migrations
    • force-rollback autouse transaction
    • async test client
    • auto mock settings.POSTGRES_URL to test db
@pavelprokhorenko pavelprokhorenko added the enhancement New feature or request label Aug 10, 2023
@pavelprokhorenko pavelprokhorenko self-assigned this Aug 10, 2023
@pavelprokhorenko pavelprokhorenko linked a pull request Oct 15, 2023 that will close this issue
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 a pull request may close this issue.

1 participant