Download:
child 304:e8895f37572b
parent 302:0209ed19c6b5
303:cfaaf0b0ec71
Anton Shestakov <av6@dwimlabs.net>, Sat, 23 Sep 2017 13:00:12 +0800
tests: two more checks for index page

1 файлов изменено, 2 вставок(+), 0 удалений(-) [+]
tests/test_viewer.py file | annotate | diff | comparison | revisions
--- a/tests/test_viewer.py Sat Sep 23 12:53:04 2017 +0800
+++ b/tests/test_viewer.py Sat Sep 23 13:00:12 2017 +0800
@@ -101,9 +101,11 @@
response = self.fetch('/')
assert response.code == 200
assert 'online linter' in response.body
+ assert 'test-viewer' in response.body
assert '1 error' in response.body
assert '1 warning' in response.body
assert '<a href="#">default</a>' in response.body
+ assert '2016-08-20T02:38:53Z' in response.body
def test_404(self):
response = self.fetch('/nobodyhere')