forgejo/tests/pyquick/test_index_rest.py
2014-03-31 13:30:32 +08:00

14 lines
180 B
Python

#!/usr/bin/env python
# coding: utf-8
#
#
import requests
HOST = 'http://localhost:3000'
def test_index_get():
r = requests.get(HOST + '/')
assert r.status_code == 200