Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/polls/tests/structure_tests.py
diff options
context:
space:
mode:
authorCode Raguet <ignacio.code@gmail.com>2013-09-25 21:04:06 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-09-25 21:04:06 (GMT)
commit5a546dd2c6cf80c1e3eca43dfe9bf38c5d014f4e (patch)
treeb4c24add34beaf38b716bb8b143e08fa328cd971 /webapp/polls/tests/structure_tests.py
parentd69b6c94215f55e6c182fec361cb1e421e827bb4 (diff)
remove empty lines (compacting block)
Diffstat (limited to 'webapp/polls/tests/structure_tests.py')
-rw-r--r--webapp/polls/tests/structure_tests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/webapp/polls/tests/structure_tests.py b/webapp/polls/tests/structure_tests.py
index efdac57..a7857f4 100644
--- a/webapp/polls/tests/structure_tests.py
+++ b/webapp/polls/tests/structure_tests.py
@@ -428,12 +428,9 @@ class SaveStructureTest(MongoTestCase):
}
def test_save(self):
-
structure = Structure(data=self.data)
-
self.assertRaises(structure.ValidationError, structure.save)
structure = Structure(data=self.data, poll=self.poll)
structure.save()
-
self.assertEqual(1, self.db.structures.count())