2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-24 02:55:29 +00:00
frappe_docker/test.py

11 lines
238 B
Python
Raw Normal View History

import subprocess,requests,time
time.wait(45)
try:
r = requests.get("site1.local:8000")
assert '<title> Login </title>' in r.content, "Login page failed to load"
except Exception as e:
traceback.print_exc(e)
sys.exit(3)