Python: fix sub class test

This commit is contained in:
yoff
2026-05-19 18:03:52 +02:00
parent 4298b70f1c
commit f6ed5c19be
3 changed files with 17 additions and 10 deletions

View File

@@ -6,9 +6,9 @@ class Sub(Flask):
Flask.__init__(self, *args, **kwargs)
app = Sub(__name__) # $ MISSING: instance
app = Sub(__name__) # $ instance
@app.route("/")
def hello():
return "world"
@app.route("/") # $ routeSetup="/"
def hello(): # $ requestHandler
return "world" # $ HttpResponse