Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion axe_selenium_python/axe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from os import path
import json
from os import path

_DEFAULT_SCRIPT = path.join(path.dirname(__file__), 'src', 'axe.min.js')

Expand Down
3 changes: 1 addition & 2 deletions axe_selenium_python/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
from datetime import datetime

import pytest
from py.xml import html

from axe_selenium_python import Axe
from py.xml import html

_DEFAULT_SCRIPT = os.path.join(os.path.dirname(__file__), 'src', 'axe.min.js')

Expand Down
1 change: 1 addition & 0 deletions axe_selenium_python/tests/requirements/flake8.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
flake8==3.5.0
flake8-isort==2.5
1 change: 1 addition & 0 deletions axe_selenium_python/tests/test_axe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# You can obtain one at http://mozilla.org/MPL/2.0/.

from os import path

import pytest


Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ commands = flake8 {posargs:.}
[flake8]
ignore = E501

[isort]
default_section = THIRDPARTY
known_first_party = axe-selenium-python
skip = build, .tox

[pytest]
addopts = --verbose --driver=Firefox
base_url = https://web-mozillians-staging.production.paas.mozilla.community