From 4fe96cfc9ca6a50169d82942a48a15e5718b9550 Mon Sep 17 00:00:00 2001 From: AliasJeff <2022248374@qq.com> Date: Thu, 11 Apr 2024 17:09:12 +0800 Subject: [PATCH] refactor: Implicitly use fixtures in conftest.py --- app/test/test_bug544_tangxinyuan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/test/test_bug544_tangxinyuan.py b/app/test/test_bug544_tangxinyuan.py index 2ecb559..0e55daa 100644 --- a/app/test/test_bug544_tangxinyuan.py +++ b/app/test/test_bug544_tangxinyuan.py @@ -3,7 +3,6 @@ import string from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC -from conftest import driver, URL, UNAME, PASSWORD def has_punctuation(s): @@ -53,4 +52,4 @@ def test_save_selected_word(driver, URL, UNAME, PASSWORD): if __name__ == '__main__': - test_save_selected_word(driver, URL, UNAME, PASSWORD) + test_save_selected_word(driver, URL, UNAME, PASSWORD) # noqa: F821