Commit graph

908 commits

Author SHA1 Message Date
Armin Ronacher
7331ae3df5 Update the testsuite to not freak out about a change in Werkzeug 0.8 that changed the behavior of misconfigured hosts. 2011-09-03 17:13:01 +02: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
Ron DuPlain
780297e2bb Merge pull request #307 from s0undt3ch/master
route decorators custom enpoints
2011-08-31 08:33:17 -07:00
Armin Ronacher
e942a0974f Merge pull request #311 from christophercurrie/master
Fix for d5cd4f8 which broke install on Windows
2011-08-31 06:17:10 -07:00
Pedro Algarvio
a9e09ec50e Merge remote-tracking branch 'mitsuhiko/master' 2011-08-31 10:32:59 +01:00
Christopher Currie
5f7f3b17df Fix for d5cd4f8d which broke install on Windows 2011-08-30 15:09:56 -07:00
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
Pedro Algarvio
03a71e0229 Deny dot's in blueprint endpoints. Add tests for that too. 2011-08-25 17:26:57 +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