diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-10 20:13:08 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-10 20:13:08 +0800 |
commit | e5397cd6018ca3dbb130dc403a33dc22c98d2671 (patch) | |
tree | bd09af8c02ecc48ebe3842fe50631dcf1c088edc /app/test | |
parent | f36efb0e98a713b94a71dd600645ffbb2acf8c35 (diff) |
app/test/test_add_word.py: logout first.
Diffstat (limited to 'app/test')
-rw-r--r-- | app/test/test_add_word.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/test_add_word.py b/app/test/test_add_word.py index e37683c..c8d6d57 100644 --- a/app/test/test_add_word.py +++ b/app/test/test_add_word.py @@ -16,7 +16,7 @@ def has_punctuation(s): return [c for c in s if c in string.punctuation] != [] def test_add_word(): - driver.get(HOME_PAGE) + driver.get(HOME_PAGE + 'logout') assert 'English Pal -' in driver.page_source # login |