Skip to content
Snippets Groups Projects
Commit ca51f2d294cd authored by Arthur Lutz's avatar Arthur Lutz
Browse files

[gitlab-ci] autogenerated from tox

parent 83833cbde9cf
No related branches found
No related tags found
1 merge request!1[gitlab-ci] autogenerated from tox
Pipeline #14778 failed
image: python:3.7
before_script:
- pip install tox
flake8:
script: tox -e flake8
py3:
script: tox -e py3
......@@ -8,3 +8,4 @@
recursive-include debian changelog compat control copyright rules
include cubicweb-comment.spec
exclude .gitlab-ci.yml
......@@ -125,7 +125,7 @@
# remove date
content = re.sub('..../../.. ..:..', '', content)
self.assertMultiLineEqual(content,
"""\
"""\
> On - admin wrote :
> bouh!
......@@ -143,8 +143,7 @@
> some extra xxxxxxx. Yeah !
>
''',
re.sub('..../../.. ..:..', '', c.view('fullthreadtext_descending')))
''', re.sub('..../../.. ..:..', '', c.view('fullthreadtext_descending')))
def test_fulltext_view_markdown(self):
with self.admin_access.web_request() as req:
......
......@@ -17,7 +17,7 @@
rset=c.cw_rset, row=0)
content = v.render(row=0)
self.assertMultiLineEqual(content,
'''Yo !
'''Yo !
i18n_by_author_field: admin
......@@ -21,8 +21,7 @@
i18n_by_author_field: admin
url: http://testing.fr/cubicweb/blogentry/%s''' %
c.comments[0].eid)
url: http://testing.fr/cubicweb/blogentry/%s''' % c.comments[0].eid)
self.assertEqual(v.subject(), 'new comment for BlogEntry une news !')
......
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