forked from mrlan/EnglishPal
refactor: Implicitly use fixtures in conftest.py
parent
93264da3d9
commit
4fe96cfc9c
|
@ -3,7 +3,6 @@ import string
|
||||||
from selenium.webdriver.common.by import By
|
from selenium.webdriver.common.by import By
|
||||||
from selenium.webdriver.support.ui import WebDriverWait
|
from selenium.webdriver.support.ui import WebDriverWait
|
||||||
from selenium.webdriver.support import expected_conditions as EC
|
from selenium.webdriver.support import expected_conditions as EC
|
||||||
from conftest import driver, URL, UNAME, PASSWORD
|
|
||||||
|
|
||||||
|
|
||||||
def has_punctuation(s):
|
def has_punctuation(s):
|
||||||
|
@ -53,4 +52,4 @@ def test_save_selected_word(driver, URL, UNAME, PASSWORD):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
test_save_selected_word(driver, URL, UNAME, PASSWORD)
|
test_save_selected_word(driver, URL, UNAME, PASSWORD) # noqa: F821
|
||||||
|
|
Loading…
Reference in New Issue