'Check that we rewrite paths for .html files.'

def test_build_page(self):

    self.assertFileExists(os.path.join(self.site.build_path, 'index.html'))
    self.assertFileExists(os.path.join(self.site.build_path, 'test', 'index.html'))
    self.assertFileExists(os.path.join(self.site.build_path, 'folder', 'index.html'))
    self.assertFileExists(os.path.join(self.site.build_path, 'folder', 'page', 'index.html'))
    self.assertRaises(IOError, open, os.path.join(self.path, '.build', 'test.html'), 'rU')
