call site 18 for test.ensuretemp
apigen/testing/test_linker.py - line 41
40
41
42
43
44
45
46
47
48
   def test_functional(self):
->     temp = py.test.ensuretemp('TestTempLinker.test_functional')
       l = TempLinker()
       bar = temp.ensure('foo/bar.html', file=True)
       baz = temp.ensure('foo/baz.html', file=True)
       l.set_link(baz.strpath, baz.relto(temp))
       bar.write('<a href="%s">baz</a>' % (l.get_lazyhref(baz.strpath),))
       l.replace_dirpath(temp)
       assert bar.read() == '<a href="baz.html">baz</a>'