Skip to content

Commit 0298027

Browse files
author
mwwsp
committed
cleaned up for flake8
1 parent b57b793 commit 0298027

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

axe_selenium_python/axe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def execute(self, context=None, options=None):
3333
:param context: which page part(s) to analyze and/or what to exclude.
3434
:param options: dictionary of aXe options.
3535
"""
36-
template = "var callback = arguments[arguments.length - 1]; axe.run(%s).then(results => callback(results))"
36+
template = "var callback = arguments[arguments.length - 1];" \
37+
"axe.run(%s).then(results => callback(results))"
3738
args = ""
3839

3940
# If context parameter is passed, add to args

axe_selenium_python/tests/test_axe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def firefox_driver():
1818
yield driver
1919
driver.close()
2020

21-
21+
2222
@pytest.fixture
2323
def chrome_driver():
2424
opts = webdriver.ChromeOptions()

0 commit comments

Comments
 (0)