forgejo/tests/pyquick/test_index_rest.py

14 lines
180 B
Python
Raw Normal View History

2014-03-31 05:30:32 +00:00
#!/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