aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-05-02 18:22:02 +0900
committeripknHama <ipknhama@gmail.com>2014-07-09 14:08:02 +0900
commit23f9b528586610c43be8bccbe50e978afd47dfec (patch)
treef124d0f19990bf94ff2f79520ad7df50780468ea /test.py
parent31d2e07bc2e8660f6a8e4fe5f29b5d3b9e275ed1 (diff)
downloadcrow-23f9b528586610c43be8bccbe50e978afd47dfec.tar.gz
crow-23f9b528586610c43be8bccbe50e978afd47dfec.zip
fix old naming, check for host header
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index 8af676b..357d2d3 100644
--- a/test.py
+++ b/test.py
@@ -1,6 +1,6 @@
import urllib
assert "Hello World!" == urllib.urlopen('http://localhost:18080').read()
-assert "About Flask example." == urllib.urlopen('http://localhost:18080/about').read()
+assert "About Crow example." == urllib.urlopen('http://localhost:18080/about').read()
assert 404 == urllib.urlopen('http://localhost:18080/list').getcode()
assert "3 bottles of beer!" == urllib.urlopen('http://localhost:18080/hello/3').read()
assert "100 bottles of beer!" == urllib.urlopen('http://localhost:18080/hello/100').read()