Commit graph

884 commits

Author SHA1 Message Date
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
Armin Ronacher
eb9a14e158 Split up a test into two 2011-08-10 23:40:53 +02:00
Armin Ronacher
1d6f86bc87 Updated docstring 2011-08-10 23:25:33 +02:00
Armin Ronacher
c3844d1102 Rename _get_package_path to get_root_path to avoid confusion 2011-08-10 23:21:43 +02:00
Armin Ronacher
b3aaf6d5ca Refactored package finding 2011-08-10 23:19:33 +02:00
Armin Ronacher
fb1a6730cf Leave eggs when finding the instance path 2011-08-10 18:00:16 +02:00
Armin Ronacher
74f4af59f6 Added comments for two branches in the instance detection 2011-08-10 17:51:49 +02:00
Armin Ronacher
e328eba97c Corrected prefix detection 2011-08-10 17:51:24 +02:00
Armin Ronacher
175d43b2f9 Instance paths are now moved into virtualenv/share/appname-instance if installed 2011-08-10 17:46:20 +02:00
Armin Ronacher
0520425055 Fixed a typo 2011-08-10 14:00:57 +02:00
Armin Ronacher
9af75546f0 Mention default locations for instance folders 2011-08-10 13:57:30 +02:00
Armin Ronacher
187cb80dcc Documented instance root 2011-08-10 13:55:57 +02:00
Armin Ronacher
153ecbc920 Implemented instance paths 2011-08-10 13:34:58 +02:00
Armin Ronacher
63876614b6 Removed second mention of json. This fixes #290 2011-08-09 16:16:04 +02:00