mirror of
https://github.com/github/codeql.git
synced 2026-06-26 15:17:06 +02:00
Python: add test for sub class
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user