def test_app(testbed): app = webtest.TestApp(main.app) response = app.get('/') assert response.status_int == 200 assert 'No log entries found' in response.text assert 'More' not in response.text