def setUp(self): TestUtils.mkdir(self.session_dir) self.options = dict(invalidate_corrupt=True, type='file', auto=True, data_dir=TestUtils.get_path(self.session_dir), key='seminode.session.id', timeout=None, secret=None, log_file=None) # 'SPRINGPYTHON_FILTER_CHAIN': '', # 'HTTP_COOKIE': 'seminode.session.id=cabf5df880e99b21d246c86eb931ab5e', # 'seminode.session' self.environ = { 'HTTP_REFERER': 'http://localhost:8080/', 'SERVER_SOFTWARE': 'gevent/0.13 Python/2.7', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'GET', 'PATH_INFO': '/', 'SERVER_PROTOCOL': 'HTTP/1.0', 'QUERY_STRING': '', 'HTTP_HOST': 'localhost:8080', }
def setUp(self): TestUtils.mkdir(self.session_dir) self.options = dict(invalidate_corrupt=True, type='file', data_dir=TestUtils.get_path(self.session_dir), key='seminode.session.id', timeout=None, secret=None, log_file=None)