~ubuntu-branches/ubuntu/saucy/pylons/saucy

« back to all changes in this revision

Viewing changes to tests/test_units/test_decorator_authenticate_form.py

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2010-05-29 17:39:23 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100529173923-j5qm6pagtmr13myx
Tags: 0.10-1
* New upstream release
  - python-routes minimum version bumped to 1.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
from pylons.decorators.secure import authenticate_form, csrf_detected_message
9
9
from pylons.testutil import ControllerWrap, SetupCacheGlobal
10
10
from routes import request_config
11
 
from webhelpers.html import secure_form
 
11
try:
 
12
    import webhelpers.html.secure_form as secure_form
 
13
except ImportError:
 
14
    import webhelpers.pylonslib.secure_form as secure_form
12
15
 
13
16
from __init__ import data_dir, TestWSGIController
14
17