diff options
author | Rogelio Mita <rogeliomita@activitycentral.com> | 2013-06-12 16:32:32 (GMT) |
---|---|---|
committer | Rogelio Mita <rogeliomita@activitycentral.com> | 2013-06-12 17:53:01 (GMT) |
commit | 4e3298e9d3cf87f74da8ed99a91efe56652d7a03 (patch) | |
tree | ffb3d2aee4d799a1cb0fa1c612001efd60edda51 /webapp/polls/tests/result_tests.py | |
parent | 20f31a8438696a968d6217e117dfb7957b3c298c (diff) |
Bug fix: Text for TextInput fields when export to csv
Diffstat (limited to 'webapp/polls/tests/result_tests.py')
-rw-r--r-- | webapp/polls/tests/result_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/polls/tests/result_tests.py b/webapp/polls/tests/result_tests.py index c8b2ee3..b86b6f7 100644 --- a/webapp/polls/tests/result_tests.py +++ b/webapp/polls/tests/result_tests.py @@ -265,7 +265,7 @@ class PollResultTests(MongoTestCase): "text": "some text" } }, - "name": "Q: TextIntup", + "name": "Q: TextInput", "widget_type": "TextInput" }, "1": { @@ -353,6 +353,6 @@ class PollResultTests(MongoTestCase): self.assertEqual(expected_header, poll_result.get_csv_header()) csv = poll_result.to_csv() - record = "1101236;MONTEVIDEO;236;2;A;1;;1;1;1;1;2;1;;" + record = "1101236;MONTEVIDEO;236;2;A;1;some text;1;1;1;1;2;1;;" self.assertTrue(expected_header in csv) self.assertTrue(record in csv) |