This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_root_output(client): | |
resp = client.fetch('/') | |
assert resp.code == 200 | |
assert resp.body == 'Hello, world' | |
def test_async_output(client): | |
resp = client.fetch('/async') | |
assert resp.code == 200 |