Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRogelio Mita <rogeliomita@activitycentral.com>2013-10-01 21:13:15 (GMT)
committer Rogelio Mita <rogeliomita@activitycentral.com>2013-10-01 21:13:15 (GMT)
commit898212a51b5702fb20c26024886216b5a71b0b95 (patch)
treea64c6f59c896dc41d08187f42758755bc6b7071c
parentbd1f1b0911da2a50fe5838a38392a0dfdf5d8b66 (diff)
Add setup with creation of tmp results dir for PollTests
-rw-r--r--webapp/polls/tests/poll_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/webapp/polls/tests/poll_tests.py b/webapp/polls/tests/poll_tests.py
index 704ad65..fba6ed7 100644
--- a/webapp/polls/tests/poll_tests.py
+++ b/webapp/polls/tests/poll_tests.py
@@ -19,6 +19,9 @@ from polls.tests.poll_result_file_tests import make_temp_file
class PollTests(MongoTestCase):
+ def setUp(self):
+ create_results_dir()
+
def test_poll_init(self):
pollster = Pollster.create(username="test", password="test")