MCPcopy Index your code
hub / github.com/webpy/webpy / test_template_without_ext

Method test_template_without_ext

tests/test_template.py:138–141  ·  view source on GitHub ↗
(self, tmpdir)

Source from the content-addressed store, hash-verified

136
137class TestRender:
138 def test_template_without_ext(self, tmpdir):
139 tmpdir.join("foobar").write("hello")
140 render = web.template.render(str(tmpdir))
141 assert str(render.foobar()).strip() == "hello"

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
renderMethod · 0.45

Tested by

no test coverage detected