Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorCode Raguet <ignacio.code@gmail.com>2013-09-25 20:54:07 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-09-25 20:54:07 (GMT)
commitd69b6c94215f55e6c182fec361cb1e421e827bb4 (patch)
tree5c7d9e289ac484899adf682188b5ceebdd7745eb /webapp
parentda5e3fa249efd68162278ff80f66b7137e83dc0a (diff)
remove duplicate test_save
Diffstat (limited to 'webapp')
-rw-r--r--webapp/polls/tests/structure_tests.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/webapp/polls/tests/structure_tests.py b/webapp/polls/tests/structure_tests.py
index 9e499a8..efdac57 100644
--- a/webapp/polls/tests/structure_tests.py
+++ b/webapp/polls/tests/structure_tests.py
@@ -162,17 +162,6 @@ class StructureTests(MongoTestCase):
self.assertEqual(1, len(structure.errors))
- 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())
-
def test_get(self):
structure = Structure(data=self.data, poll=self.poll)
structure_id = structure.save()