14 lines
266 B
Python
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
|