pytest-flask
pytest-flask copied to clipboard
A set of pytest fixtures to test Flask applications
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/asottile/reorder-python-imports: v3.12.0 → v3.13.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.13.0) - [github.com/psf/black: 23.12.1 → 24.4.2](https://github.com/psf/black/compare/23.12.1...24.4.2) - [github.com/PyCQA/flake8: 6.1.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.1.0) - [github.com/PyCQA/autoflake: v2.2.1 → v2.3.1](https://github.com/PyCQA/autoflake/compare/v2.2.1...v2.3.1) - [github.com/pre-commit/mirrors-mypy: v1.8.0 →...
I found an incompatibility when using at the same time flask-babel 4.0.0 and pytest-flask 1.3.0. I am not sure whose responsability it is, maybe both, maybe neither, so I post...
**Describe the bug** In version 1.2.1, the following update was made: > Fix bug in :meth:pytest_flask.fixtures.live_server where SESSION_COOKIE_DOMAIN was set to false due to original_server_name defaulting to "localhost". The new...
Is it possible to test with multiple clients, each logged in as different user to integration-test workflows, that involve multiple users? I'm currently using flask-security and pytest for testing and...
**Describe the bug** Hello, I'm trying to run pytest-flask's live server in conjunction with selenium, but every one of my registered routes return a 404 status. Both my app fixture...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7. Release notes Sourced from actions/download-artifact's releases. v4.1.7 What's Changed Update @actions/artifact dependency by @bethanyj28 in actions/download-artifact#325 Full Changelog: https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 v4.1.6 What's Changed updating @actions/artifact...
updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/asottile/reorder-python-imports: v3.14.0 → v3.16.0](https://github.com/asottile/reorder-python-imports/compare/v3.14.0...v3.16.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.12.0) - [github.com/PyCQA/flake8: 7.1.1 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.1.1...7.3.0) - [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.1...v1.19.1)
Remove setuptools' tests_require deprecated method. fixes [198](https://github.com/pytest-dev/pytest-flask/issues/198). - fixes # Checklist: - [x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change. -...
**Describe the bug** Hey, pytest flask fixtures are currently incompatible with the newer `werkzeug` releases. ```python self = args = (, ) kwargs = {'use_cookies': True} def __init__(self, *args: t.Any,...
**Describe the bug** when running `pip install -v .` in the pytest-flask project directory, setuptools produces a warning: ``` /tmp/pip-build-env-gy9vaagi/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) ``` it seems that...