mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-24 02:55:29 +00:00
11 lines
238 B
Python
11 lines
238 B
Python
|
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)
|