Parkayun
33534bb4a9
Happy New Year 2015
2015-01-02 11:35:00 +09:00
Paulo Bu
b81f72070e
Fix warnings and code styling in the doc
...
There was a blank line missing that was generating a warning when
building the doc. Also, a removed function from cli.py was left in api.rst
(without_appcontext specifically) so this was also generating warnings.
Also corrects the format for a code block and adds a link to Werkzeug's Headers
class.
2014-08-28 16:51:53 +02:00
Armin Ronacher
e7c587789a
Fixe a bug in the test client causing url parameters to be removed. This fixes #968
2014-02-08 17:19:00 +00:00
Daniel Neuhäuser
52098e1e4f
Happy New Year 2014
2014-01-02 19:21:07 +01:00
Armin Ronacher
abc1505196
Fixed various issues on the Python 3 port
2013-05-30 15:07:18 +01:00
Thomas Waldmann
96b8ffbb29
always import from ._compat
2013-05-25 20:24:14 +02:00
Thomas Waldmann
e1d356fb71
ported some more stuff to py 3.3
...
removed init_jinja_globals hack from app.py after consulting mitsuhiko
(didn't work on py 3.3 "as is")
removed with_statement future imports, not needed any more
needs more work on 2.7 as well as on 3.3
2013-05-22 01:33:04 +02:00
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
2012-10-07 12:48:19 +02:00
Armin Ronacher
c6316132b1
Context preserving is now part of Flask and not the test client. This fixes #326
2011-09-24 20:27:38 +02:00
Armin Ronacher
7b899c8510
Merge pull request #309 from embe/master
...
Fix session loading in flask.testing.TestClient.session_transaction()
2011-09-07 02:44:08 -07:00
Armin Ronacher
f92a275d54
Merge branch 'master' of github.com:mitsuhiko/flask
2011-09-01 19:51:37 +02:00
Ron DuPlain
37f9cb9ca6
Import with statement in testsuite, Python 2.5.
2011-09-01 12:35:04 -04:00
Armin Ronacher
ee8417dac8
Late but 2010 -> 2011 in some files
2011-09-01 16:57:00 +02:00
Michał Bartoszkiewicz
4dc1796b1c
Fixed session loading in flask.testing.TestClient.session_transaction()
2011-08-29 21:39:31 +02:00
Armin Ronacher
d49221bf2e
The test client now properly pops response contexts on __exit__
2011-08-26 14:01:46 +01:00
Armin Ronacher
c8ec453d86
Require that cookies are enabled in the test client for session transactions
2011-08-26 13:47:01 +01:00
Armin Ronacher
e853a0f739
The test client and test_request_context are now both using the same logic internally for creating the environ. Also they use APPLICATION_ROOT now.
2011-08-25 20:47:50 +01:00
Armin Ronacher
311ac0f533
Ensure that nobody can nest test client invocations
2011-08-25 15:33:03 +01:00
Armin Ronacher
a5da2c98f3
Implemented flask.testing.TestClient.session_transaction for quick session modifications in test environments.
2011-08-25 15:18:39 +01:00
Armin Ronacher
2866ccda1f
Switch to explicit Werkzeug imports
2011-07-15 18:03:48 +02:00
Pedro Algarvio
a327452540
Better handling for test_request_context don't just append the port.
...
Also implemented a proper initial environment to use with
`Flask.test_app()` based on the application's configuration.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2010-10-22 18:19:21 +03:00
Armin Ronacher
77e2fbf249
Added a separate logging module
2010-07-05 10:37:44 +02:00
Armin Ronacher
e5d8202038
Added a docstring
2010-07-05 10:32:06 +02:00
Armin Ronacher
df3f8940c3
Added separate module for testing
2010-07-05 10:31:18 +02:00