Skip to content

Commit

Permalink
Merge pull request #252 from plonegovbr/fix_flake8
Browse files Browse the repository at this point in the history
Fix flake8
  • Loading branch information
idgserpro committed Feb 5, 2019
2 parents bffd7cc + fd4128e commit 23972c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ matrix:
fast_finish: true
before_install:
- pip install coveralls pylint
- pip install mccabe==0.3.1 # XXX: remove after updating flake8
install:
- python bootstrap.py
- bin/buildout annotate
Expand Down
2 changes: 1 addition & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.3.x.cfg
https://raw.github.com/collective/buildout.plonetest/master/qa.cfg
https://raw.githubusercontent.com/plonegovbr/portal.buildout/master/buildout.d/versions.cfg
https://raw.githubusercontent.com/plonegovbr/portal.buildout/1.x/buildout.d/versions.cfg

package-name = brasil.gov.temas
package-extras = [test]
Expand Down
4 changes: 2 additions & 2 deletions src/brasil/gov/temas/tests/tests_funcionais.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def base_test(self, cor):
self.browser.open(self.portal.absolute_url())
self.assertIn(
'<div id="footer-brasil" class="footer-logos"></div>',
self.browser.contents
self.browser.contents,
)

def test_tema_verde(self):
Expand Down Expand Up @@ -75,7 +75,7 @@ def login_browser(self):
"""Autentica usuário de teste no browser"""
self.browser.handleErrors = False
basic_auth = 'Basic {0}'.format(
'{0}:{1}'.format(SITE_OWNER_NAME, SITE_OWNER_PASSWORD)
'{0}:{1}'.format(SITE_OWNER_NAME, SITE_OWNER_PASSWORD),
)
self.browser.addHeader('Authorization', basic_auth)

Expand Down

0 comments on commit 23972c4

Please sign in to comment.