def test_index(app, bitmap, client): with app.test_request_context('/bitmapist/'): assert request.endpoint == 'bitmapist.index'