Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tornadoweb/tornado
/ upper
Method
upper
tornado/test/template_test.py:99–100 · tornado/test/template_test.py::TemplateTest.upper
(s)
Source
from the content-addressed store, hash-verified
97
98
def
test_apply(self):
99
def
upper(s):
100
return
s.upper()
101
102
template = Template(utf8(
class
="st">"{% apply upper %}foo{% end %}"))
103
self.assertEqual(template.generate(upper=upper), b
class
="st">"FOO")
Callers
6
enable_pretty_logging
Function · 0.80
get_closest
Method · 0.80
environ
Method · 0.80
_oauth_signature
Function · 0.80
_oauth10a_signature
Function · 0.80
handle_stream
Method · 0.80
Calls
2
to_unicode
Function · 0.90
utf8
Function · 0.90
Tested by
no test coverage detected