diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-06 23:12:06 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-06 23:12:06 +0800 |
commit | 9c324e781fbac2c3d58de3fbe8dd358b1eb5f211 (patch) | |
tree | 8841c708b084e84c109c876a1ab18328db66d39a /app/test/test_signup.py | |
parent | 66ee3d5f0a0965e32307cba45e621eb02e332c52 (diff) |
app/test/test_*.py: quit driver after use.
Diffstat (limited to 'app/test/test_signup.py')
-rw-r--r-- | app/test/test_signup.py | 2 |
1 files changed, 2 insertions, 0 deletions
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() + |