Use long timestamps as id

svn path=/plone.app.discussion/trunk/; revision=26964
This commit is contained in:
Lennart Regebro
2009-05-16 11:21:23 +00:00
parent 51b076935e
commit a2542ea5a8
3 changed files with 20 additions and 9 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class ConversationTest(TestCase):
conversation.addComment(comment)
# Check that the conversation methods return the correct data
self.assertEquals(comment.id, '1')
self.assert_(isinstance(comment.comment_id, long))
self.assertEquals(len(conversation.getComments()), 1)
self.assertEquals(len(conversation.getThreads()), 1)
self.assertEquals(conversation.total_comments, 1)