File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- # FlaskTester - Pytest fixtures for Flask internal and external tests
1
+ # FlaskTester - Pytest fixtures for Flask internal and external authenticated tests
2
2
3
3
This package allows to run authenticated tests against a Flask application,
4
4
either with internal Flask tests (aka ` test_client ` ) or external tests (with
5
- ` requests ` which performs actual HTTP requests).
5
+ ` requests ` which performs actual HTTP requests), including password and token
6
+ authentication.
6
7
7
8
Only one set of tests is needed, switching from internal to external is
8
9
achieved through environment variables.
@@ -65,9 +66,9 @@ export FLASK_TESTER_APP="app:app" # set app module
65
66
pytest test.py # run internal tests
66
67
```
67
68
68
- See [ ` tests/app.py ` ] ( tests/app.py ) for a sample
69
+ The above test runs with [ ` tests/app.py ` ] ( tests/app.py )
69
70
[ Flask] ( https://flask.palletsprojects.com/ )
70
- REST application back-end with password and token authentication developed with
71
+ REST application back-end with password and token authentication based on
71
72
[ FlaskSimpleAuth] ( https://pypi.org/project/FlaskSimpleAuth/ ) .
72
73
73
74
## Fixtures
You can’t perform that action at this time.
0 commit comments