Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/webpy/webpy
/ t
Function
t
tests/test_template.py:25–27 ·
view source on GitHub ↗
(code, **keywords)
Source
from the content-addressed store, hash-verified
23
24
25
def
t(code, **keywords):
26
tmpl = Template(code, **keywords)
27
return
lambda
*a, **kw: _TestResult(tmpl(*a, **kw))
28
29
30
class
TemplateTest(unittest.TestCase):
Callers
9
testPrint
Method · 0.85
testAttr
Method · 0.85
test_overridden
Method · 0.85
test_quotes
Method · 0.85
test_accessor
Method · 0.85
test_href
Method · 0.85
testBoolean
Method · 0.85
djangoerror
Function · 0.85
template
Method · 0.85
Calls
2
Template
Class · 0.90
_TestResult
Class · 0.85
Tested by
no test coverage detected