A set of py.test fixtures to test Flask applications.

Edit Package python-pytest-flask

An extension of pytest test runner which provides a set of useful tools to simplify testing and development of the Flask extensions and applications.

Refresh
Refresh
Source Files
Filename Size Changed
pytest-flask-0.13.0.tar.gz 0000024283 23.7 KB
python-pytest-flask.changes 0000001381 1.35 KB
python-pytest-flask.spec 0000002212 2.16 KB
Revision 4 (latest revision is 9)
Jürgen Löhel's avatar Jürgen Löhel (jloehel) committed (revision 4)
- Upgrade to version 0.13.0
  - pytest-flask now requires pytest>=3.6 (#84).
  - Add new --live-server-port option to select 
    the port the live server will use (#82).
    Thanks @RazerM for the PR.
  - Now live_server will try to stop the server
    cleanly by emitting a SIGINT signal and waiting
    5 seconds for the server to shutdown. If the 
    server is still running after 5 seconds, it 
    will be forcefully terminated. This behavior
    can be changed by passing --no-live-server-clean-stop
    in the command-line (#49). 
    Thanks @jadkik for the PR.
  - Internal fixes silence pytest warnings, more 
    visible now with pytest-3.8.0 (#84).
  - JSONReponse now supports comparison directly with 
    status codes.
    Thanks @dusktreader for the PR (#86).
Comments 0
openSUSE Build Service is sponsored by