Move viewlets to browser package, use a layer instead of an overrides.zcml. Also add ++comment++ namespace, though it may require refactoring
svn path=/plone.app.discussion/trunk/; revision=27055
This commit is contained in:
@@ -34,6 +34,13 @@ class CommentTest(PloneTestCase):
|
||||
|
||||
def test_traversal(self):
|
||||
# make sure comments are traversable, have an id, absolute_url and physical path
|
||||
|
||||
# XXX - traversal doesn't work without a name?
|
||||
conversation = self.portal.doc1.restrictedTraverse('++comment++1')
|
||||
self.assert_(IConversation.providedBy(conversation))
|
||||
|
||||
# TODO: Test adding comments, traversing to them
|
||||
|
||||
pass
|
||||
|
||||
def test_workflow(self):
|
||||
|
||||
@@ -96,7 +96,7 @@ class ConversationTest(PloneTestCase):
|
||||
pass
|
||||
|
||||
def test_get_comments_batched(self):
|
||||
pass
|
||||
pass
|
||||
|
||||
def test_get_threads(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user