aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
blob: f6cc490fc7e9ac4551749c2494a947189a4f90ba (plain) (blame)
1
2
3
4
import urllib
assert "Hello World!" ==  urllib.urlopen('http://localhost:8080').read()
assert "About Flask example." ==  urllib.urlopen('http://localhost:8080/about').read()
assert 404 == urllib.urlopen('http://localhost:8080/list').getcode()