Skip to content

Instantly share code, notes, and snippets.

..........................F
======================================================================
FAIL: test_process (main.tests.test_past_bugs.TestCSVExport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/euler/sites/formhub/main/tests/test_past_bugs.py", line 14, in test_process
TestSite.test_process(self)
File "/home/euler/sites/formhub/main/tests/test_process.py", line 18, in test_process
self._check_formList()
File "/home/euler/sites/formhub/main/tests/test_process.py", line 128, in _check_formList
Traceback (most recent call last):
File "/home/ubuntu/srv/formhub-ec2/project_env/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/ubuntu/srv/formhub-ec2/formhub/main/views.py", line 108, in profile
context.message = publish_form(set_form)
File "/home/ubuntu/srv/formhub-ec2/formhub/utils/logger_tools.py", line 80, in publish_form
return callback()
In [13]: t=(1,2)
In [15]: t
Out[15]: (1, 2)
In [16]: t+=(3,)
In [17]: t
Out[17]: (1, 2, 3)
try:
instance = create_instance(
username,
xml_file_list[0],
media_files
)
except Exception, e:
import traceback
tb = traceback.format_exc()
finally: