mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-17 14:14:06 +09:00
add tests
This commit is contained in:
13
tests/pyquick/test_index_rest.py
Normal file
13
tests/pyquick/test_index_rest.py
Normal file
@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
|
Reference in New Issue
Block a user