cburgmer/pdfserver — Issue #6: Failing test:  working outside of request context
Author: cburgmer
Created: 2011-11-17 19:32:42+00:00
State: open

Test test_upload_yields_correct_file_ids fails. Could be in combination with a new version of any of the dependencies:

```
======================================================================
ERROR: test_upload_yields_correct_file_ids (pdfserver.tests.UploadTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/christoph/projekte/pdfserver/pdfserver/tests.py", line 150, in test_upload_yields_correct_file_ids
self.assertEquals(sorted(ids), sorted(session['file_ids']))
File "/home/christoph/projekte/pdfserver/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 363, in
__getitem__ = lambda x, i: x._get_current_object()[i]
File "/home/christoph/projekte/pdfserver/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 295, in _get_current_object
return self.__local()
File "/home/christoph/projekte/pdfserver/env/local/lib/python2.7/site-packages/flask/globals.py", line 19, in _lookup_object
raise RuntimeError('working outside of request context')
RuntimeError: working outside of request context

```

See http://travis-ci.org/#!/cburgmer/pdfserver/builds/317626