Releases: jarus/flask-testing
Releases · jarus/flask-testing
Version 0.8.0
Version 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 ofAssertionError
when
testing against used templates - Fixed bug in
assertRedirects
where the location was not being
checked properly
Version 0.6.1
- Fix issues that prevented tests from running when blinker was not installed
Version 0.6.0
LiveServerTestCase
will now start running as soon as the server is upassertRedirects
now respects theSERVER_NAME
config value and can compare against absolute URLs- Compatibility with Flask 0.11.1
Version 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
Version 0.4.2
- Improved teardown to be more graceful.
- Add
message
argument toassertStatus
respectively all assertion methods with fixed status likeassert404
.