25 Commits (master)

Author SHA1 Message Date
Armin Ronacher 8cec2010c0
Do not enable subdomain matching by default 7 years ago
David Lord cf5525f98a
add test_cli_runner for testing app.cli commands 7 years ago
David Lord 310fbfcf64
revert copyright year to project start 7 years ago
David Lord 66b1b752da
simplify logging configuration 7 years ago
David Lord a89bdb3395
prefer the url's scheme over the kwarg 7 years ago
David Lord 59f7966e31 support passing environ to test client (#2412) 7 years ago
David Lord 465922e5f1
clean up secret key docs 7 years ago
David Lord e97253e4c1
clean up JSON code and docs 7 years ago
Christian Stade-Schuldt 4ec1fbc9f5 More DRYing up the test suite (#2325) 7 years ago
Christian Stade-Schuldt 5b0b9717da DRYing up the test suite using pytest fixtures (#2306) 7 years ago
Michael Recachinas bd5e297aa9 Default environ (#2047) 8 years ago
Adam Byrtek ca547f0ec3 JSON response tests and first draft of code that passes 8 years ago
Adam Byrtek 6c5ef2bc5c Use `content_type` kwarg instead of manipulating headers 8 years ago
Adam Byrtek c4139e0e5d JSON support for the Flask test client 8 years ago
Reuven 4dc2ef19ea Use pytest.raises() instead of try/catch with asser 0 9 years ago
Parkayun 33534bb4a9 Happy New Year 2015 10 years ago
Markus Unterwaditzer c6795eb626 Remove useless unittest imports 10 years ago
Markus Unterwaditzer f8a778deae Kill classes in test_testing 10 years ago
Markus Unterwaditzer af4cb0ff2b Remove flask superclass 10 years ago
Markus Unterwaditzer af41dbe0c4 Remove useless classes 10 years ago
Markus Unterwaditzer 5da2c00419 Rewrite assertion methods 10 years ago
Markus Unterwaditzer 8fa5e32d9a Tests pass now. 10 years ago
Markus Unterwaditzer 961db8ad72 Made tests recognizable 10 years ago
Markus Unterwaditzer 3550b26071 Move tests 10 years ago
Armin Ronacher 84ad89ffa4 Always log now, even if debug is off. 10 years ago
Armin Ronacher d094d5b6fc Fixed warning and broken tests on 3.3 11 years ago
Armin Ronacher 6de9484c97 Fixed a typo 11 years ago
Armin Ronacher e7c587789a Fixe a bug in the test client causing url parameters to be removed. This fixes #968 11 years ago
Daniel Neuhäuser 52098e1e4f Happy New Year 2014 11 years ago
Thomas Waldmann ac04bc7836 replace 1/0 by 1 // 0 to get rid of DeprecationWarning (and PEP8 issue) 11 years ago
Daniel Neuhäuser a0801719f8 Remove six dependency 11 years ago
Daniel Neuhäuser 62e7275bdf Use assert_false where appropriate 11 years ago
Daniel Neuhäuser 9f8a2075c7 Use assert_in where appropriate 11 years ago
Daniel Neuhäuser 8e9f0bdedc Use assert_equal instead of assertEquals 11 years ago
Daniel Neuhäuser 239780be28 Use assert_true instead of assert_ 11 years ago
Daniel Neuhäuser 5b89355b1c Response data is bytes 11 years ago
Markus Unterwaditzer 05f66ad735 Fix some literals 11 years ago
Thomas Waldmann e1d356fb71 ported some more stuff to py 3.3 11 years ago
Thomas Waldmann 522cd00093 python-modernize automated changes: fix_unicode (but without six.u()) 12 years ago
Thomas Waldmann 6caaa8a527 automated change using python-modernize: use 'as' in except 12 years ago
Armin Ronacher 4f1cb42123 make_test_environ_builder when used with subdomains was not working correctly, now it uses urlparse module for detecting full URL and changing path and base_url correctly 12 years ago
Armin Ronacher c90858a95d Added a branch to test functionality enabled by new test client 13 years ago
Armin Ronacher 9c8f138a42 Improved test coverage for the test client 13 years ago
Priit Laes 9dd61eea6b Added testcase for redirect and session keeparound bug 13 years ago
Ron DuPlain 37f9cb9ca6 Import with statement in testsuite, Python 2.5. 13 years ago
Michał Bartoszkiewicz 4dc1796b1c Fixed session loading in flask.testing.TestClient.session_transaction() 13 years ago
Armin Ronacher d49221bf2e The test client now properly pops response contexts on __exit__ 13 years ago
Armin Ronacher c8ec453d86 Require that cookies are enabled in the test client for session transactions 13 years ago
Armin Ronacher fc2caa4b9c Changed assert to self.assert_ where it was still in place 13 years ago
Armin Ronacher 3069e2d7f7 Fight the generic asserts! 13 years ago