From 9c324e781fbac2c3d58de3fbe8dd358b1eb5f211 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Sat, 6 Feb 2021 23:12:06 +0800 Subject: app/test/test_*.py: quit driver after use. --- app/test/test_signup.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/test/test_signup.py') diff --git a/app/test/test_signup.py b/app/test/test_signup.py index 25536a3..fc8ec4a 100644 --- a/app/test/test_signup.py +++ b/app/test/test_signup.py @@ -37,4 +37,6 @@ def test_signup(): assert '恭喜,你已成功注册' in driver.page_source assert uname in driver.page_source + driver.quit() + -- cgit v1.2.1