isso/specs/test_urls.py
2012-10-16 16:18:07 +02:00

14 lines
266 B
Python

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