Skip to content

Commit

Permalink
[py] fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Nov 12, 2023
1 parent 90182c6 commit c258b22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

from selenium.common.exceptions import WebDriverException


@pytest.mark.no_driver_after_test
def test_network_conditions_emulation(driver):
driver.set_network_conditions(offline=False, latency=56, throughput=789) # additional latency (ms)
Expand Down
5 changes: 3 additions & 2 deletions py/test/selenium/webdriver/chrome/chrome_service_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
# specific language governing permissions and limitations
# under the License.
import os
import pytest
import subprocess
import time

import pytest

from selenium.common.exceptions import WebDriverException
from selenium.webdriver import Chrome
from selenium.webdriver.chrome.service import Service
from selenium.common.exceptions import WebDriverException


@pytest.mark.xfail_chrome(raises=WebDriverException)
Expand Down
3 changes: 2 additions & 1 deletion py/test/selenium/webdriver/chrome/proxy_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
# specific language governing permissions and limitations
# under the License.

import pytest
import os

import pytest
import urllib3

from selenium import webdriver
Expand Down

0 comments on commit c258b22

Please sign in to comment.