Skip to content
Snippets Groups Projects
Commit af2473a6eb58 authored by Nsukami Patrick <ndkpatt at gmail dot com>'s avatar Nsukami Patrick
Browse files

Flake8: fix E261 at least two spaces before inline comment

parent 858da95496f6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment