Skip to content

Commit 729530a

Browse files
committed
wip fix lint
1 parent 80ce8bb commit 729530a

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

tests/acceptance/conftest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616

1717
import pytest
1818
from pytest_bdd import given, when, then, parsers
19-
from selenium.webdriver.chrome.options import Options as ChromeOptions
20-
from splinter import Browser
21-
from tests.acceptance.lute_test_client import LuteTestClient
2219
from playwright.sync_api import sync_playwright
20+
from tests.acceptance.lute_test_client import LuteTestClient
2321

2422

2523
def pytest_addoption(parser):

tests/acceptance/lute_test_client.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
import time
1818
import json
1919
import requests
20-
from selenium.webdriver.common.keys import Keys
21-
from selenium.webdriver.common.action_chains import ActionChains
2220
from playwright.sync_api import Keyboard, Mouse
2321

2422

@@ -231,8 +229,8 @@ def _fill_term_form(self, page, updates):
231229

232230
elif k == "status":
233231
s = updates["status"]
234-
xp = f"//input[@type='radio'][@name='status'][@value='{s}']/following-sibling::label"
235-
labels = page.locator(f"xpath={xp}")
232+
x = f"//input[@type='radio'][@name='status'][@value='{s}']/following-sibling::label"
233+
labels = page.locator(f"xpath={x}")
236234
count = labels.count()
237235
assert count == 1, "have matching radio button"
238236
labels.nth(0).click()

0 commit comments

Comments
 (0)