Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/polls/tests/result_tests.py
diff options
context:
space:
mode:
authorRogelio Mita <rogeliomita@activitycentral.com>2013-06-07 22:13:06 (GMT)
committer Rogelio Mita <rogeliomita@activitycentral.com>2013-06-07 22:13:06 (GMT)
commitbddd22266d05799b48205ae7ce102369e0be3af4 (patch)
tree0ee8183f05ed306815323113e9cd9b5d7d5fca83 /webapp/polls/tests/result_tests.py
parent40999feb0c94c68fff3b827304fff2ec1a0a79ee (diff)
When a pollster upload poll's result files, it will be incremental way,
Diffstat (limited to 'webapp/polls/tests/result_tests.py')
-rw-r--r--webapp/polls/tests/result_tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/webapp/polls/tests/result_tests.py b/webapp/polls/tests/result_tests.py
index a8ff638..a72be04 100644
--- a/webapp/polls/tests/result_tests.py
+++ b/webapp/polls/tests/result_tests.py
@@ -102,11 +102,11 @@ class PollTests(MongoTestCase):
'poll_id': poll_id,
'result': {
"0": {
- "answers": {},
+ "answers": {"no_empty": ""},
"polled": {}
},
"1": {
- "answers": {},
+ "answers": {"no_empty": ""},
"polled": {}
}
}
@@ -115,11 +115,11 @@ class PollTests(MongoTestCase):
'poll_id': poll_id,
'result': {
"0": {
- "answers": {},
+ "answers": {"no_empty": ""},
"polled": {}
},
"1": {
- "answers": {},
+ "answers": {"no_empty": ""},
"polled": {}
}
}