Commit graph

897 commits

Author SHA1 Message Date
Armin Ronacher
ccf464189b Added finer control over the session cookie parameters 2011-08-30 14:36:50 +02:00
Armin Ronacher
23bf2633f6 Use the _request_ctx_stack instead of the proxy for consistency with the others. 2011-08-29 12:18:25 +02:00
Armin Ronacher
87f50fdc6f Don't lie to the user about POST redirects 2011-08-27 00:44:46 +02:00
Armin Ronacher
bb1567dae4 Explained why os.getcwd is used for path finding 2011-08-27 00:42:06 +02:00
Armin Ronacher
08bf538fb4 Added a note on the behaviour of the routing system 2011-08-27 00:36:53 +02:00
Armin Ronacher
718ef4d699 Added an XXX to a comment to not miss removing deprecated code later 2011-08-27 00:32:28 +02:00
Armin Ronacher
dc05722b36 Made the foreword less defensive. 2011-08-26 21:42:17 +02:00
Armin Ronacher
2e4c39199d Refactored logging of internal server errors. Can now be customized 2011-08-26 21:30:41 +02:00
Armin Ronacher
c0f42a0978 Added shebang to the test run file 2011-08-26 18:20:33 +01:00
Armin Ronacher
e509d25d32 Some more cleanups in how the test runner is invoked 2011-08-26 17:35:47 +01:00
Armin Ronacher
367b254c78 Make sure that there is a test for subdomain matching with ports 2011-08-26 14:51:28 +01:00
Armin Ronacher
67101c8b93 Fake signals no better follow the blinker api 2011-08-26 14:41:25 +01:00
Armin Ronacher
b256e9f36c make_default_options_response now tries to use Werkzeug 0.7 functionality before falling back. 2011-08-26 14:05:08 +01: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
5235c3e37e Make BetterLoader() have a better api :) 2011-08-26 12:09:55 +01:00
Armin Ronacher
a082a5e0ba Cleanup in the test finder 2011-08-26 12:07:49 +01:00
Armin Ronacher
5a49688554 Moved loader code into the testsuite and out of the runner 2011-08-26 12:02:40 +01:00
Armin Ronacher
f30b1174b8 Also support full qualified test names 2011-08-26 12:00:26 +01:00
Armin Ronacher
29b7efa36b Improved the logic in which tests are found 2011-08-26 11:59:52 +01:00
Armin Ronacher
0851d956b3 Updated README 2011-08-26 11:55:11 +01:00
Armin Ronacher
fbd6776e68 Fixed a bug in the testsuite that caused problems when dots where in directory names 2011-08-26 11:48:33 +01:00
Armin Ronacher
d5cd4f8d59 Updated manifests 2011-08-26 11:48:09 +01:00
Armin Ronacher
fc2caa4b9c Changed assert to self.assert_ where it was still in place 2011-08-26 11:43:27 +01:00
Armin Ronacher
3069e2d7f7 Fight the generic asserts! 2011-08-26 11:38:43 +01:00
Armin Ronacher
2b830af2ef Use the better test runner in the makefile 2011-08-26 11:24:42 +01:00
Armin Ronacher
12d74be7d7 Added better test runner 2011-08-26 11:24:10 +01:00
Armin Ronacher
4cb6eea8f1 Split up testsuite and moved it to flask.testsuite. This fixes #246 2011-08-26 11:21:26 +01:00
Armin Ronacher
85ed1bf058 Mentioned View.decorators in the views docs 2011-08-26 08:32:36 +01:00
Armin Ronacher
ef0f626f0a Added flask.views.View.decorators to automatically decorate class based views. 2011-08-25 22:09:48 +01:00
Armin Ronacher
8340d3c9f5 Updated docstring on make_response 2011-08-25 21:49:50 +01:00
Armin Ronacher
9070c5c325 Merge branch 'master' of github.com:mitsuhiko/flask 2011-08-25 21:16:27 +01:00
Armin Ronacher
314f9201ab Updated instance path documentation to explain the $PREFIX lookup 2011-08-25 21:16:06 +01:00
Armin Ronacher
e28e146997 Merge pull request #308 from DasIch/patch-1
Typo in documentation
2011-08-25 13:15:31 -07:00
Daniel Neuhäuser
a43f73c75c s/Ify ou/If you/ typo 2011-08-26 10:13:54 +03:00
Armin Ronacher
d3ca55177a Updated the docs and examples to non-failing teardown handlers 2011-08-25 20:56:43 +01:00
Armin Ronacher
485a6c332b Moved testcase for test client context binding to the TestToolsTestCase 2011-08-25 20:49:53 +01:00
Armin Ronacher
8dbd71ef8e Added a testcase where SERVER_NAME and APPLICATION_ROOT are not set 2011-08-25 20:48:38 +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
1ea3d4ea53 Updated documentation regarding the session transactions 2011-08-25 16:13:43 +01:00
Armin Ronacher
311ac0f533 Ensure that nobody can nest test client invocations 2011-08-25 15:33:03 +01:00
Armin Ronacher
f051939d8b Test that we're not leaking a request context in the testsuite, fixed a leak 2011-08-25 15:24:10 +01:00
Armin Ronacher
001a5128d8 Refactored tests to use a different subclass 2011-08-25 15:20:40 +01:00
Armin Ronacher
f0c089ff6b Merge branch 'master' of github.com:mitsuhiko/flask 2011-08-25 15:19:13 +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
c844d02f1c Added the APPLICATION_ROOT configuration variable which is used by session backends. 2011-08-25 12:13:55 +01:00
Armin Ronacher
1bca65d72e Merge pull request #267 from LuitvD/patch-1
Missed the -w option in uWSGI deployment docs.
2011-08-24 15:57:32 -07:00
Ron DuPlain
b209cd96f5 Merge pull request #304 from plaes/config-docs
Improve configuration docs a bit
2011-08-17 06:05:57 -07:00
Priit Laes
713ced603e Improve configuration docs a bit 2011-08-17 08:38:34 +03:00
Armin Ronacher
45d963d6da The session interface is new in 0.8 not 0.7 2011-08-10 23:50:43 +02:00