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 19:31:04 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-09-25 19:31:04 (GMT)
commit594fbf7b23d47116144370eb4310deab649bbd04 (patch)
tree46f9cf7284c8385cd269d239e55559fe4a091275 /webapp/polls/tests/structure_tests.py
parent947c467358d93a62d1044808b72a36c36aca06b7 (diff)
Add Structure's READ_ONLY_MSG
Diffstat (limited to 'webapp/polls/tests/structure_tests.py')
-rw-r--r--webapp/polls/tests/structure_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/webapp/polls/tests/structure_tests.py b/webapp/polls/tests/structure_tests.py
index 7508248..8ec1d21 100644
--- a/webapp/polls/tests/structure_tests.py
+++ b/webapp/polls/tests/structure_tests.py
@@ -321,6 +321,9 @@ class StructureTests(MongoTestCase):
self.assertEqual(1, len(structure.get_image_options()))
+ def test_it_should_respond_to_ready_only_msg(self):
+ self.assertTrue(hasattr(Structure, 'READ_ONLY_MSG'))
+
class UploadOptionImagesTest(MongoTestCase):