Python: add test for sub class

This commit is contained in:
yoff
2026-05-19 17:55:17 +02:00
parent e88b8c53f3
commit 4298b70f1c

View File

@@ -0,0 +1,14 @@
from flask import Flask
class Sub(Flask):
def __init__(self, *args, **kwargs):
Flask.__init__(self, *args, **kwargs)
app = Sub(__name__) # $ MISSING: instance
@app.route("/")
def hello():
return "world"