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) Update pytest arguments in Makefile for better test execution #2063

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

ogabrielluiz
Copy link
Contributor

The Makefile has been modified to update the pytest arguments in the tests target. The --instafail flag has been replaced with -ra -n auto -m "not api_key_required". This change allows for better test execution by including additional options for reporting, parallelization, and test selection.

(test_endpoints.py) Add pytest marker 'api_key_required' to mark tests that require an API key for authorization

The Makefile has been modified to update the pytest arguments in the `tests` target. The `--instafail` flag has been replaced with `-ra -n auto -m "not api_key_required"`. This change allows for better test execution by including additional options for reporting, parallelization, and test selection.

Note: The commit message has been generated based on the provided code changes and recent commits.
…ests that require an API key for authorization. This helps in easily identifying and managing tests that need special permissions.
Copy link

vercel bot commented Jun 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jun 4, 2024 3:58pm

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 4, 2024
@ogabrielluiz ogabrielluiz merged commit 22a7b7e into dev Jun 4, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant