creating pytest to quokkaCMS#667
Conversation
|
#fixing pep8 errors 323e196 (.venv) [marcosptf@localhost quokka]$ make test |
| from flask import current_app | ||
| from quokka.core.template import render_template | ||
| from wtforms.widgets import TextArea, TextInput | ||
| from quokka.core.content.views import render_template |
There was a problem hiding this comment.
fixing pep8 import
| data.get('category_slug') or | ||
| slugify_category(data.get('category') or '') | ||
| data_category_slug or data_slugify_category | ||
| ) |
There was a problem hiding this comment.
fixing pep8 error:
W504 line break after binary operator
| content.title.encode('utf-8') + | ||
| content.url.encode('utf-8') | ||
| content_title + content_url | ||
| ).hexdigest(), |
There was a problem hiding this comment.
fixing pep8 error:
W504 line break after binary operator
| self.get_authors() + | ||
| self.get_articles_and_pages() | ||
| index + cat + tags + authors + articles | ||
| ) |
There was a problem hiding this comment.
fixing pep8 error:
W504 line break after binary operator
|
@laerteallan fixes done => 1a1c4f5 |
|
Congrats on the job.. |
|
Hello @marcosptf! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2019-06-02 13:56:18 UTC |
|
im updating this branch with master and make test command has broken, im fixing it: 2.12s$ make test |
|
pep8 from Travis issues fixed! |
cesarbruschetta
left a comment
There was a problem hiding this comment.
This PR adds a lot of test to the project .. :)
I just believe it is good to make a git squash to gather all commits before sending to the master
This pr is to create pytest to quokkaCMS, this task is done, all questions and comments answer done, this pr is enable to merge and travis-ci is okey :-)
Att,
@marcosptf