MCPcopy Create free account
hub / github.com/EasyIME/PIME / get_app_kwargs

Method get_app_kwargs

python/python3/tornado/test/web_test.py:1430–1434  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1428
1429class StaticFileWithPathTest(WebTestCase):
1430 def get_app_kwargs(self):
1431 return dict(
1432 static_path=relpath("static"),
1433 static_handler_args=dict(default_filename="index.html"),
1434 )
1435
1436 def get_handlers(self):
1437 return [("/foo/(.*)", StaticFileHandler, {"path": relpath("templates/")})]

Callers

nothing calls this directly

Calls 1

relpathFunction · 0.85

Tested by

no test coverage detected