diff options
author | Code Raguet <ignacio.code@gmail.com> | 2013-09-06 16:34:24 (GMT) |
---|---|---|
committer | Code Raguet <ignacio.code@gmail.com> | 2013-09-06 16:34:24 (GMT) |
commit | 18e1272b87931e56d315ec2074d29ad235b5cd09 (patch) | |
tree | 77e285fc1d97c75e0b0dc8f2235d750fc9c173db | |
parent | aac43da330237d31202322aa352deb3be5e2fdb2 (diff) |
copy setup to test
-rw-r--r-- | webapp/polls/tests/poll_result_file_tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webapp/polls/tests/poll_result_file_tests.py b/webapp/polls/tests/poll_result_file_tests.py index 59c290e..d856d6a 100644 --- a/webapp/polls/tests/poll_result_file_tests.py +++ b/webapp/polls/tests/poll_result_file_tests.py @@ -151,7 +151,10 @@ class NumeroEscuelaTest(MongoTestCase): self.data = data def test_it_should_get_all_numero_escuela_as_unique_items(self): - data = self.data + data = {} + data['result'] = {} + data['result']['0'] = {} + data['result']['0']['polled'] = {} numero_escuela1 = '1' data['result']['0']['polled']['NUM_ESC'] = numero_escuela1 numero_escuela2 = '2' |