From e5397cd6018ca3dbb130dc403a33dc22c98d2671 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Wed, 10 Feb 2021 20:13:08 +0800 Subject: app/test/test_add_word.py: logout first. --- app/test/test_add_word.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1