Flask-testing

Latest version: v0.8.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.8.0

* Drops support for python 2.6, 3.3, and 3.4 due to end-of-life.
* Fixes werkzeug 1.0 compatibility issue with import paths

0.6.2

- Add support for OS chosen port in `LiveServerTestCase`
- Better error messages when missing required modules
- `assertRedirects` now supports all valid redirect codes as specified
in the HTTP protocol
- Fixed bug that caused `TypeError` instead of `AssertionError` when
testing against used templates
- Fixed bug in `assertRedirects` where the location was not being
checked properly

0.6.1

- Fix issues that prevented tests from running when blinker was not installed

0.6.0

- `LiveServerTestCase` will now start running as soon as the server is up
- `assertRedirects` now respects the `SERVER_NAME` config value and can compare against absolute URLs
- Compatibility with Flask 0.11.1

0.5.0

- Improvements to `LiveServerTestCase`
- The test case will now block until the server is available
- Fixed an issue where no request context was available
- Fixed an issue where tests would be run twice when `DEBUG` was set to True
- Add missing message arguments for assertRedirects and assertContext
- Better default failure message for assertRedirects
- Better default failure message for assertTemplateUsed
- Fix an issue that caused the `render_templates` option to not clean up after itself if set to False
- Update docs to use new Flask extension import specification

0.4.2

- Improved teardown to be more graceful.
- Add `message` argument to `assertStatus` respectively all assertion methods with fixed status like `assert404`.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.