Commit graph

358 commits

Author SHA1 Message Date
Armin Ronacher
56afafae67 Do not break extension tests if tested with installed extensions. 2011-09-23 02:04:21 +02:00
Armin Ronacher
9691b7f0bf Deal with partially setup packages in the redirect hook. 2011-09-21 21:34:47 +02:00
Armin Ronacher
ee9b401632 Added a comment on who the is_important_traceback seems to work. It's only speculation 2011-09-21 13:01:58 +02:00
Armin Ronacher
9a70e62b8d No longer swallow important import errors.
This implements a simple but elegant method to find out if an import
error can be swallowed to try the next module or if the import error is
important and must be reraised.
2011-09-21 03:47:36 +02:00
Ron DuPlain
90884a78fb Cross-reference debug docs in run docstring. 2011-09-18 15:36:08 -04:00
Simon Sapin
907c24e6ff Document the debug param for Flask.run, it is not part of **options given to run_simple.
I am not sure bool() is appropriate.
2011-09-18 15:26:29 -04:00
Ron DuPlain
899f8cdf51 Merge pull request #322 from jperras/patch-1
Fixed typo in docstring of dispatch_request method of flask.views.View
2011-09-18 12:20:40 -07:00
Armin Ronacher
9c82840f52 Added more tests for the import hook 2011-09-18 18:16:50 +02:00
Armin Ronacher
9df2aefd7f Do not set dotted attributes on flask.ext 2011-09-18 12:22:42 +02:00
Armin Ronacher
e8020e2c5c Added comment to the importer wiping. 2011-09-18 12:22:15 +02:00
Armin Ronacher
f80bfcaa28 Added tests for old imports 2011-09-18 03:26:46 +02:00
Armin Ronacher
80bd6949a6 Merge branch 'master' of github.com:mitsuhiko/flask 2011-09-18 02:11:10 +02:00
Armin Ronacher
c72ca16234 Added tests for the import hook and fixed a problem with it. 2011-09-18 02:10:10 +02:00
Ron DuPlain
7044b4becc Merge pull request #324 from embe/master
Blueprint.app_url_value_preprocessor doesn't work correctly.
2011-09-17 13:20:30 -07:00
Armin Ronacher
8f85a3b0d1 Experimental redirect importing for flask.ext to flask_ and flaskext. 2011-09-17 22:11:57 +02:00
Armin Ronacher
bd6ce4d48c Merge branch 'master' of github.com:mitsuhiko/flask 2011-09-17 19:41:24 +02:00
Armin Ronacher
32c7e43dda Simplified HEAD handling for method views 2011-09-17 19:39:10 +02:00
Michał Bartoszkiewicz
f8caa54d31 Fixed Blueprint.app_url_value_preprocessor. 2011-09-17 00:31:09 +02:00
Joel Perras
17a46a4d23 Fixed typo in docstring of dispatch_request method of flask.views.View. 2011-09-14 16:53:05 -03:00
Ron DuPlain
f6798885e6 Update create_global_jinja_loader docstring, #321. 2011-09-13 21:22:23 -04:00
Armin Ronacher
7d7d810aea Single quotes for consistency 2011-09-10 23:20:58 +02:00
Armin Ronacher
b1311bd8cd Merge branch 'master' of github.com:mitsuhiko/flask 2011-09-07 11:44:33 +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
88617311db Added an testcase for subclassing of Flask to supress logging 2011-09-05 18:52:28 +02:00
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
Pedro Algarvio
a9e09ec50e Merge remote-tracking branch 'mitsuhiko/master' 2011-08-31 10:32:59 +01:00
Armin Ronacher
ccf464189b Added finer control over the session cookie parameters 2011-08-30 14:36:50 +02:00
Michał Bartoszkiewicz
4dc1796b1c Fixed session loading in flask.testing.TestClient.session_transaction() 2011-08-29 21:39:31 +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
718ef4d699 Added an XXX to a comment to not miss removing deprecated code later 2011-08-27 00:32:28 +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
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
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
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
4cb6eea8f1 Split up testsuite and moved it to flask.testsuite. This fixes #246 2011-08-26 11:21:26 +01:00
Armin Ronacher
ef0f626f0a Added flask.views.View.decorators to automatically decorate class based views. 2011-08-25 22:09:48 +01:00