File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
python/ql/test/experimental/library-tests/frameworks/tornado Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,22 @@ def get(self):
28
28
self .redirect (url )
29
29
30
30
31
+ class BaseReverseInheritance (tornado .web .RequestHandler ):
32
+ def get (self ):
33
+ self .write ("hello from BaseReverseInheritance" )
34
+
35
+
36
+ class ReverseInheritance (BaseReverseInheritance ):
37
+ pass
38
+
39
+
31
40
def make_app ():
32
41
return tornado .web .Application ([
33
42
(r"/basic" , BasicHandler ),
34
43
(r"/deep" , DeepInheritance ),
35
44
(r"/form" , FormHandler ),
36
45
(r"/redirect" , RedirectHandler ),
46
+ (r"/reverse-inheritance" , ReverseInheritance ),
37
47
])
38
48
39
49
@@ -52,3 +62,5 @@ def make_app():
52
62
53
63
# curl -X POST -F "name=foo" http://localhost:8888/form
54
64
# curl -v -H 'url: http://example.com' http://localhost:8888/redirect
65
+
66
+ # http://localhost:8888/reverse-inheritance
You can’t perform that action at this time.
0 commit comments