You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
isso/specs/test_urls.py

14 lines
266 B

from werkzeug.test import Client
from werkzeug.wrappers import BaseResponse
import isso
client = Client(isso.Isso(123), BaseResponse)
def test_200ok():
assert client.get('/').status_code == 200
assert client.get('/comment/asdf/123').status_code == 200