Skip to content

Commit

Permalink
[py] Fixing flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Mar 30, 2020
1 parent f249c79 commit 03db079
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
from selenium.webdriver.common.by import By
from selenium.common.exceptions import (
InvalidSelectorException,
NoSuchElementException,
WebDriverException)
NoSuchElementException)

# By.id positive

Expand Down
4 changes: 2 additions & 2 deletions py/test/selenium/webdriver/common/frame_switching_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def testShouldContinueToReferToTheSameFrameOnceItHasBeenSelected(driver, pages):


@pytest.mark.xfail_firefox(raises=WebDriverException,
reason='https://github.com/mozilla/geckodriver/issues/610')
reason='https://github.com/mozilla/geckodriver/issues/610')
@pytest.mark.xfail_remote(raises=WebDriverException,
reason='https://github.com/mozilla/geckodriver/issues/610')
def testShouldFocusOnTheReplacementWhenAFrameFollowsALinkToA_TopTargetedPage(driver, pages):
Expand Down Expand Up @@ -369,7 +369,7 @@ def testShouldBeAbleToSwitchToTheTopIfTheFrameIsDeletedFromUnderUsWithWebelement
@pytest.mark.xfail_chrome(raises=NoSuchElementException)
@pytest.mark.xfail_chromiumedge(raises=NoSuchElementException)
@pytest.mark.xfail_firefox(raises=WebDriverException,
reason='https://github.com/mozilla/geckodriver/issues/614')
reason='https://github.com/mozilla/geckodriver/issues/614')
@pytest.mark.xfail_remote(raises=WebDriverException,
reason='https://github.com/mozilla/geckodriver/issues/614')
@pytest.mark.xfail_webkitgtk(raises=NoSuchElementException)
Expand Down

0 comments on commit 03db079

Please sign in to comment.