Skip to content

Releases: jarus/flask-testing

Version 0.8.0

06 Mar 03:18

Choose a tag to compare

  • 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

Version 0.6.2

26 Feb 20:05

Choose a tag to compare

  • 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

Version 0.6.1

02 Sep 13:43

Choose a tag to compare

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

Version 0.6.0

02 Sep 07:33

Choose a tag to compare

  • 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

Version 0.5.0

13 Jun 01:37

Choose a tag to compare

  • 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

24 Jul 14:56

Choose a tag to compare

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

Version 0.4.1

27 Feb 21:28

Choose a tag to compare

This release is dedicated to every contributer who made this release possible. Thank you very much.

  • Python 3 compatibility (without twill): #40
  • Add LiveServerTestCase: #18
  • Use unittest2 backports if available in python 2.6: #41
  • Install multiprocessing for python versions earlier than 2.6: #30