def test_app(testbed, login): app = webtest.TestApp(main.app) login() response = app.get('/') assert '/_ah/upload' in response