Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCode Raguet <ignacio.code@gmail.com>2013-09-06 13:51:20 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-09-06 16:13:01 (GMT)
commit647116edafb062624ee0dc10077392321692c4a1 (patch)
treed0ec89f0bfa82f053c949f8592502769fba215fc
parente39e325d4094b3ee16f815da6fda1d658b4f59b6 (diff)
LFs for grouping code
-rw-r--r--webapp/polls/tests/poll_result_file_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/polls/tests/poll_result_file_tests.py b/webapp/polls/tests/poll_result_file_tests.py
index 628a5b1..2ff63e8 100644
--- a/webapp/polls/tests/poll_result_file_tests.py
+++ b/webapp/polls/tests/poll_result_file_tests.py
@@ -154,13 +154,13 @@ class NumeroEscuelaTest(MongoTestCase):
data = self.data
numero_escuela = '1'
data['result']['0']['polled']['NUM_ESC'] = numero_escuela
- json_str = json_construc(data)
+ json_str = json_construc(data)
file_ = tempfile.NamedTemporaryFile(suffix='.poll_result',
delete=False)
file_.write(json_str)
file_.close()
-
file_path = file_.name
+
result = PollResultFile(file_path)
self.assertEqual(numero_escuela, result.get_numero_escuela())