--- a/tests/test_viewer.py Thu Jul 21 01:09:19 2016 +0800
+++ b/tests/test_viewer.py Thu Jul 21 23:33:53 2016 +0800
assert 'online linter' in response.body
assert '1 error' in response.body
assert '1 warning' in response.body
+ assert '<a href="#">default</a>' in response.body
response = self.fetch('/nobodyhere')
assert '.. image:: http' in response.body
assert '1 error' in response.body
assert '1 warning' in response.body
+ assert '<a href="#">default</a>' in response.body
response = self.fetch('/butt.cloud/cyber/wizard-attack/latest')
assert response.code == 200
assert '1 error' in response.body
assert '1 warning' in response.body
+ assert '<a href="#">default</a>' in response.body
response = self.fetch('/example.com/alice/test-viewer/latest/raw')
assert response.code == 200