Commit graph

665 commits

Author SHA1 Message Date
Markus Unterwaditzer
a00ccdce94 Remove more test_apps 2014-09-11 22:09:52 +02:00
Markus Unterwaditzer
b88a837674 Remove fake extensions from test_apps 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
4ea4ea7f93 Remove old helper function 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
861aa0db1f Init global test_apps explicitly 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
588cfa9c91 Add note to memleak tests 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
03339501ab Remove obsolete apps 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
af4cb0ff2b Remove flask superclass 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
af41dbe0c4 Remove useless classes 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
d0cf5ef394 WIP 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
e77bc2d86c Remove class from test_views 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
7e8f1053bb Fix assertion error 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
5da2c00419 Rewrite assertion methods 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
dd6b2574c9 Rework test_signals 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
b1c0951ad6 Move fixtures 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
ba82bac3d8 Rework test_config 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
df711eac90 Some fixes 2014-09-11 22:09:51 +02:00
Markus Unterwaditzer
8fa5e32d9a Tests pass now. 2014-09-11 22:09:50 +02:00
Markus Unterwaditzer
961db8ad72 Made tests recognizable 2014-09-11 22:09:50 +02:00
Markus Unterwaditzer
3550b26071 Move tests 2014-09-11 22:09:50 +02: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
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
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
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
eb9a14e158 Split up a test into two 2011-08-10 23:40:53 +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
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
153ecbc920 Implemented instance paths 2011-08-10 13:34:58 +02:00
Armin Ronacher
6847329134 Flask will now give you an error in debug mode if a post request caused a redirect by the routing system. 2011-08-09 14:51:06 +02:00
Armin Ronacher
ce70131975 If JSON parsing fails it now issues a BadRequest exception. 2011-08-08 21:47:26 +02:00
Armin Ronacher
acac64e36a Don't only catch BadRequest key errors but all bad request errors. 2011-08-08 21:46:53 +02:00
Armin Ronacher
02a1317460 Added the ability to trigger functions before the first request to the application 2011-08-07 12:43:38 +02:00
Armin Ronacher
5500986971 Flask in debug mode will now complain if views are attached after the first view was handled. 2011-08-07 02:30:34 +02:00
Armin Ronacher
f3db68c8ce Added testcase for the debug behavior and explicit encoding 2011-08-05 16:56:43 +02:00
Armin Ronacher
7155f11a72 Added HTTP exception trapping. This should fix #294 2011-08-05 12:35:41 +02:00
Armin Ronacher
fafcc02f26 Added a testcase for 404 errors caused by the routing system 2011-08-04 16:44:42 +02:00
Armin Ronacher
c9a2ad2b8d Fixed a bug in list_templates 2011-07-16 01:16:29 +02:00
Armin Ronacher
3b31df81ae View functions can opt out of the default OPTIONS implementation 2011-07-14 14:18:42 +02:00
Armin Ronacher
bd473c1587 Fixed an issue that broke url processors for blueprints. Added testcases 2011-07-06 10:16:56 +02:00
Armin Ronacher
a101cfc35b Worked around a werkzeug bug with redirects 2011-06-29 18:31:48 +02:00
Armin Ronacher
b36d7b3288 Added class based view documentation 2011-06-28 14:24:54 +02:00
Armin Ronacher
dcf21989dc Added class based views 2011-06-28 12:45:49 +02:00
Armin Ronacher
ccd5ced70e Chop of ports for session cookies. This fixes #253 2011-06-27 09:40:45 +02:00
Armin Ronacher
ea7a172077 Test that dotted names work. This fixes #258 2011-06-27 09:20:50 +02:00