blob: c6769eab7f63fbd64096e864095a12e8e6795b2b (
plain) (
blame)
1
2
3
4
5
6
7
|
import urllib.request
def test_compose_works():
request = urllib.request.urlopen("http://localhost:5000")
response = request.read().decode(request.headers.get_content_charset())
assert 'Hello World!' in response
|