Skip to content

Commit 588cb7b

Browse files
committed
Python: add test for sub class
1 parent 0cc12f4 commit 588cb7b

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from flask import Flask
2+
3+
4+
class Sub(Flask):
5+
def __init__(self, *args, **kwargs):
6+
Flask.__init__(self, *args, **kwargs)
7+
8+
9+
app = Sub(__name__) # $ MISSING: instance
10+
11+
12+
@app.route("/")
13+
def hello():
14+
return "world"

0 commit comments

Comments
 (0)