aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_csrf_middleware.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix CSRF tests with webtest 1.4.0Sebastian Spaeth2012-12-111-3/+3
| | | | | | | | | | CSRF tests apparently passed with earlier versions of webtest, but failed with the latest webtest (1.4.0) package. It choked on passing a "key=value; " cookie as it split at the semicolon and failed to find additional values or something like that. Removing the semicolon makes this test pass. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Fix problems from pyflakes outputWill Kahn-Greene2012-06-031-5/+0
|
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Issue 680 Allow decorating views to prevent CSRF protection.Nathan Yergler2011-11-261-1/+20
|
* Hotfix: Renaming cookie broke unit testsElrond2011-10-161-1/+3
| | | | | | | | The name of the cookie was hardcoded in the unit tests and while renaming the cookie this part was missed. So now read the cookie_name from the config in the test. This also tests for the config item existing!
* #361 Unit tests for CSRF MiddlewareNathan Yergler2011-10-011-0/+69