diff --git a/test/unittest_comment.py b/test/unittest_comment.py index 858da95496f6601b0b0e31899f4c7726be1e58f7_dGVzdC91bml0dGVzdF9jb21tZW50LnB5..af2473a6eb58553c1acc359c33bae8ba30326722_dGVzdC91bml0dGVzdF9jb21tZW50LnB5 100644 --- a/test/unittest_comment.py +++ b/test/unittest_comment.py @@ -29,7 +29,7 @@ def test_possible_actions(self): with self.admin_access.web_request() as req: req.create_entity('Comment', content=u"bouh!", comments=self.b) - self.create_user(req, 'user') # will commit + self.create_user(req, 'user') # will commit rset = req.execute('Any X WHERE X is BlogEntry') actions = self.pactions(req, rset) self.assertIn(('reply_comment', views.AddCommentAction), actions) @@ -69,7 +69,7 @@ def test_add_related_actions(self): with self.admin_access.web_request() as req: req.create_entity('Comment', content=u"bouh!", comments=self.b) - self.create_user(req, 'user') # will comit + self.create_user(req, 'user') # will comit rset = req.execute('Any X WHERE X is Comment') self.assertEqual(self.pactions_by_cats(req, rset), []) req.cnx.commit() @@ -119,7 +119,7 @@ c2 = req.create_entity('Comment', content=u""" some long <b>HTML</b> text which <em>should not</em> fit on 80 characters, so i'll add some extra xxxxxxx. Yeah !""", content_format=u"text/html", comments=c) - req.cnx.commit() # needed to set author + req.cnx.commit() # needed to set author content = c2.view('fullthreadtext') # remove date content = re.sub('..../../.. ..:..', '', content)