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

Improve API testing conftest #220

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

pbadillatorrealba
Copy link
Collaborator

@pbadillatorrealba pbadillatorrealba commented Jun 14, 2024

Summary

Currently, the main conftest (back/conftest.py) initializes the API test client for each test, even if it does not test any API calls, slowing them down.

This pr moves the API test client from the initial conftest to tests/api conftest.

Depends on #217

Changes

  • Move test client fixture to tests/back/api/conftest.py.

How to Test

As usual: pytest .

@pbadillatorrealba pbadillatorrealba self-assigned this Jun 14, 2024
@pbadillatorrealba pbadillatorrealba changed the base branch from develop to test/ut-may-2024 June 14, 2024 14:33
Base automatically changed from test/ut-may-2024 to develop July 10, 2024 16:15
@pbadillatorrealba pbadillatorrealba marked this pull request as ready for review July 28, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant