diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-04 23:56:07 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-04 23:56:07 +0800 |
commit | e36d40cdd7153f807c332cb8d7da8943e89fec22 (patch) | |
tree | 47d432d2dee1507f9d238dcccfb615ab8014e191 | |
parent | 38533b6e1a0106cea0a50871c7c23b1075b40c1a (diff) |
app/test/test_signup.py: curious that cannot show Study Room.
-rw-r--r-- | app/test/test_signup.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/test/test_signup.py b/app/test/test_signup.py index 35afcd6..f4cc9ac 100644 --- a/app/test/test_signup.py +++ b/app/test/test_signup.py @@ -7,7 +7,7 @@ import random, string driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) -HOME_PAGE = 'http://121.4.94.30:91/' +HOME_PAGE = '121.4.94.30:91' @@ -33,4 +33,5 @@ def test_signup(): driver.get(HOME_PAGE + uname) - assert 'English Study Room for ' + uname in driver.title + print(driver.title) + assert 'English Study Room' in driver.page_source |