This website requires JavaScript.
Explore
Get Started
stackforge
/
pecan
Code
Issues
Proposed changes
Files
7f15f6fe57b01585254ac33bcca16566ecae2e8f
pecan
/
tests
History
Ryan Petrello
7f15f6fe57
Adding a test to ensure that the pecan
state
local() is always entirely cleaned up after a request (this will help us avoid dumb code in the future that introduces object leaks across requests).
2011-01-04 14:10:32 -05:00
..
static
Adding validation support.
2010-10-11 18:09:35 -04:00
templates
Many changes, including a test library, and better content-type
2010-09-28 20:00:37 -04:00
test_config
Sometimes you want parts of your config object to just be a dict(). This is especially useful for working with external packages that expect configuration as a dictionary with dotted keys (e.g., 'beaker.session.type'). Now you can specify
__force_dict__
in dictionaries in your config, and pecan won't convert them into pecan.configuration.Config objects:
2010-12-22 11:15:32 -05:00
__init__.py
Some reorganization, more tests, improved handling of errors, and
2010-09-30 10:11:21 -04:00
test_base.py
Adding a test to ensure that the pecan
state
local() is always entirely cleaned up after a request (this will help us avoid dumb code in the future that introduces object leaks across requests).
2011-01-04 14:10:32 -05:00
test_conf.py
Sometimes you want parts of your config object to just be a dict(). This is especially useful for working with external packages that expect configuration as a dictionary with dotted keys (e.g., 'beaker.session.type'). Now you can specify
__force_dict__
in dictionaries in your config, and pecan won't convert them into pecan.configuration.Config objects:
2010-12-22 11:15:32 -05:00
test_generic.py
You no longer have to @expose() generic controller handlers. You can
2010-11-18 12:36:26 -05:00
test_hooks.py
Adding additional support to Pecan's
TransactionalHook
and a @transactional decorator. Now controllers can be decorated with @transactional to force the request to manage a transaction. This is especially useful for scenarios where GET and HEAD requests should be transactional.
2011-01-04 13:55:58 -05:00
test_jsonify.py
the jsonify test was breaking because it imported from simplejson instead of json that should be installed via setup.py at build time.
2010-12-08 16:40:02 -05:00
test_rest.py
Added support for the "_method" parameter in RESTController.
2010-11-17 12:10:24 -05:00
test_secure.py
Added
UnlockedControllerMeta
, a controller metaclass which can be used to forcibly apply @unlocked() to every exposed method in a routing branch.
2011-01-03 10:58:47 -05:00
test_static.py
added absolute paths for other static and template tests
2010-12-06 15:39:06 -05:00
test_validation.py
reverting tests for validation in sub controllers since the bug is non-existent
2010-11-11 12:37:47 -05:00