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:
Martin Aspeli
2009-05-23 04:55:06 +00:00
parent 895105b2c9
commit edf956f01c
14 changed files with 60 additions and 29 deletions
@@ -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