lepture / authlib

The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
https://authlib.org/
BSD 3-Clause "New" or "Revised" License
4.45k stars 445 forks source link

use {posargs} tox parameter to customize pytest runs #571

Closed azmeuk closed 1 year ago

azmeuk commented 1 year ago

This allows to run tox with parameters for pytest. For instance tox -e py311-flask -- tests/flask/test_oauth2/test_oauth2_server.py will only run that test file.

If no argument is passed, the default TESTPATH is still used.