| 137 |
| 138 |
| 139 |
| 140 |
| 141 |
| 142 |
| 143 | |
def test_write_section(self): |
tempdir = temppath.ensure('htmldirwriter', dir=1) |
hdw = self.get_filled_writer(HTMLDirWriter, HTMLHandler, HTMLHandler, |
-> tempdir) |
assert tempdir.join('foo.html').check(file=1) |
assert tempdir.join('bar.html').check(file=1) |
assert tempdir.join('foo.html').read().startswith('<html>') | |