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):
2828 self .redirect (url )
2929
3030
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+
3140def make_app ():
3241 return tornado .web .Application ([
3342 (r"/basic" , BasicHandler ),
3443 (r"/deep" , DeepInheritance ),
3544 (r"/form" , FormHandler ),
3645 (r"/redirect" , RedirectHandler ),
46+ (r"/reverse-inheritance" , ReverseInheritance ),
3747 ])
3848
3949
@@ -52,3 +62,5 @@ def make_app():
5262
5363 # curl -X POST -F "name=foo" http://localhost:8888/form
5464 # 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