This commit is contained in:
tisto 2012-01-14 07:47:07 +01:00
parent aa36c0bc9b
commit 11e101f7d7
3 changed files with 12 additions and 9 deletions

View File

@ -2,6 +2,7 @@ from Acquisition import aq_inner, aq_parent
from Products.Five.browser import BrowserView from Products.Five.browser import BrowserView
class View(BrowserView): class View(BrowserView):
"""Comment View. """Comment View.

View File

@ -162,7 +162,8 @@ class MigrationTest(unittest.TestCase):
[{'comment': comment1, 'depth': 0, 'id': long(comment1.id)}, [{'comment': comment1, 'depth': 0, 'id': long(comment1.id)},
{'comment': comment1_1, 'depth': 1, 'id': long(comment1_1.id)}, {'comment': comment1_1, 'depth': 1, 'id': long(comment1_1.id)},
{'comment': comment1_1_1, 'depth': 2, 'id': long(comment1_1_1.id)}, {'comment': comment1_1_1, 'depth': 2, 'id': long(comment1_1_1.id)},
{'comment': comment1_1_1_1, 'depth': 3, 'id': long(comment1_1_1_1.id)}, {'comment': comment1_1_1_1, 'depth': 3,
'id': long(comment1_1_1_1.id)},
{'comment': comment1_2, 'depth': 1, 'id': long(comment1_2.id)}, {'comment': comment1_2, 'depth': 1, 'id': long(comment1_2.id)},
{'comment': comment1_3, 'depth': 1, 'id': long(comment1_3.id)}, {'comment': comment1_3, 'depth': 1, 'id': long(comment1_3.id)},
{'comment': comment1_4, 'depth': 1, 'id': long(comment1_4.id)}, {'comment': comment1_4, 'depth': 1, 'id': long(comment1_4.id)},

View File

@ -72,6 +72,7 @@ def captcha_vocabulary(context):
title='Norobots')) title='Norobots'))
return SimpleVocabulary(terms) return SimpleVocabulary(terms)
def text_transform_vocabulary(context): def text_transform_vocabulary(context):
"""Vocabulary with all available portal_transform transformations. """Vocabulary with all available portal_transform transformations.
""" """