aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.py b/test.py
index ee45450..f6cc490 100644
--- a/test.py
+++ b/test.py
@@ -1,3 +1,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()