1. storborg
  2. WebHelpers

Commits

pjenvey  committed a4dc4f8

[svn] add a simple mock session to the test environment

  • Participants
  • Parent commits b95de6a
  • Branches trunk

Comments (0)

Files changed (1)

File tests/util.py

View file
             'REQUEST_METHOD': 'GET',
             'SERVER_NAME': '0.0.0.0',
             'SCRIPT_NAME': '',
+            'pylons.environ_config': dict(session='test.session'),
+            'test.session': {},
             'wsgi.multiprocess': False,
             'wsgi.multithread': True,
             'wsgi.run_once': False,