You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import requests |
|
|
|
|
|
URL = 'http://127.0.0.1:80' |
|
|
|
|
|
def test_login_page(): |
|
r = requests.get(URL, allow_redirects=True) |
|
|
|
assert r.status_code == 200 |
|
assert 'Login' in r.text |
|
assert 'Password' in r.text |
|
assert 'Register' in r.text |
|
assert 'Username' in r.text
|
|
|