--- a/tests/test_viewer.py Sat Jun 18 18:56:12 2016 +0800
+++ b/tests/test_viewer.py Sat Jun 18 18:56:40 2016 +0800
database.connect = Mock()
database.disconnect = Mock()
+ response = self.fetch('/')
+ assert response.code == 200
+ response = self.fetch('/nobodyhere')
+ assert response.code == 404