diff options
author | ipknHama <ipknhama@gmail.com> | 2014-05-02 18:22:02 +0900 |
---|---|---|
committer | ipknHama <ipknhama@gmail.com> | 2014-07-09 14:08:02 +0900 |
commit | 23f9b528586610c43be8bccbe50e978afd47dfec (patch) | |
tree | f124d0f19990bf94ff2f79520ad7df50780468ea /test.py | |
parent | 31d2e07bc2e8660f6a8e4fe5f29b5d3b9e275ed1 (diff) | |
download | crow-23f9b528586610c43be8bccbe50e978afd47dfec.tar.gz crow-23f9b528586610c43be8bccbe50e978afd47dfec.zip |
fix old naming, check for host header
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |