Commit Graph

23 Commits

Author SHA1 Message Date
Patrick Gerken
4e43cfed2e Adding a test to assert that dates get stored utc
and not in local time

svn path=/plone.app.discussion/trunk/; revision=39725
2010-09-07 12:02:55 +00:00
Timo Stollenwerk
a4011ce414 Fix the comment view test.
svn path=/plone.app.discussion/trunk/; revision=39629
2010-09-03 21:23:44 +00:00
Timo Stollenwerk
81cba38a74 Comment form test added.
svn path=/plone.app.discussion/trunk/; revision=39608
2010-09-02 20:00:43 +00:00
Timo Stollenwerk
435040e0b2 Make pylint happy.
svn path=/plone.app.discussion/trunk/; revision=39287
2010-08-28 17:06:53 +00:00
Timo Stollenwerk
a54a15a90f Remove unnecessary imports and variables from test code.
svn path=/plone.app.discussion/trunk/; revision=37768
2010-07-13 10:45:53 +00:00
Florian Friesdorf
5beebe42fa hardcoded fti_title, don't query typestool for Type()
all tests succeed

svn path=/plone.app.discussion/trunk/; revision=35290
2010-03-18 14:42:52 +00:00
Timo Stollenwerk
8a6ab7161d remove CatalogTest from test_comments.
svn path=/plone.app.discussion/trunk/; revision=27767
2009-07-01 20:58:31 +00:00
Timo Stollenwerk
768b2095de fix tests for bugfix 834504 ("Replies have a wrong path index.")
svn path=/plone.app.discussion/trunk/; revision=27661
2009-06-24 20:11:27 +00:00
Timo Stollenwerk
1cc02a3acd Type() is meant to be a method not an attribute.
svn path=/plone.app.discussion/trunk/; revision=27652
2009-06-24 08:25:11 +00:00
Timo Stollenwerk
a3e9105e48 comment catalog tests added.
svn path=/plone.app.discussion/trunk/; revision=27631
2009-06-22 17:06:37 +00:00
Timo Stollenwerk
6d414055bc set correct Type ('Discussion Item') for Comments.
svn path=/plone.app.discussion/trunk/; revision=27629
2009-06-22 12:23:19 +00:00
Timo Stollenwerk
34ee743bf3 remove all the unnecessary acquisition wrapping of conversation (since the conversationAdapterFactory now returns an aq wrapped conversation).
svn path=/plone.app.discussion/trunk/; revision=27501
2009-06-18 20:57:47 +00:00
Timo Stollenwerk
baeb3a638c traversal test for the replies adapter added.
svn path=/plone.app.discussion/trunk/; revision=27459
2009-06-15 09:06:47 +00:00
Timo Stollenwerk
8fb254f73d add optional workflow actions to the get_replies method of the comments viewlet.
switch from Acquisition.explicit to Acquisition.implicit for the comment class.
adjust test_comment to work with Acquisition.implicit.

svn path=/plone.app.discussion/trunk/; revision=27406
2009-06-13 16:46:37 +00:00
Timo Stollenwerk
f0724352e5 test for comment view (redirect) added.
svn path=/plone.app.discussion/trunk/; revision=27151
2009-05-27 17:05:12 +00:00
Timo Stollenwerk
731f83b706 remove the test_dict_api from test_comments.py, since the test_dict_api from test_conversation.py tests both IReplies adapters.
svn path=/plone.app.discussion/trunk/; revision=27106
2009-05-25 10:38:58 +00:00
Timo Stollenwerk
0797579bfd delete comment test for CommentReplies adapter added.
svn path=/plone.app.discussion/trunk/; revision=27100
2009-05-25 07:08:26 +00:00
Timo Stollenwerk
ac5d96250b add comment test for the IReplies adapter for comments added.
svn path=/plone.app.discussion/trunk/; revision=27099
2009-05-25 07:02:11 +00:00
Martin Aspeli
8ffca9009c Ensure workflow is initialised when the comment is added. Also ensure that we won't get an error on unindex if the local utility can't be found.
svn path=/plone.app.discussion/trunk/; revision=27070
2009-05-23 16:37:10 +00:00
Martin Aspeli
8c3c4bdfa0 Add FTI for Discussion Item and test
svn path=/plone.app.discussion/trunk/; revision=27068
2009-05-23 16:12:45 +00:00
Martin Aspeli
2ff696a252 Fix some security issues and make the traversal adapter work with OFS.Traversable. Requires a name, so we now call it ++conversation++default
svn path=/plone.app.discussion/trunk/; revision=27059
2009-05-23 11:52:57 +00:00
Martin Aspeli
edf956f01c 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
2009-05-23 04:55:06 +00:00
Martin Aspeli
250b556428 Refactor tests and add a lot of skeleton tests we really ought to have
svn path=/plone.app.discussion/trunk/; revision=27012
2009-05-18 15:15:36 +00:00