'Test that we build the proper files.'

def testBuild(self):

    self.site.build()
    self.assertEqual(os.path.exists(os.path.join(self.path, 'build')), False)
    self.assertEqual(sorted([path_to_url(path) for path in fileList(os.path.join(self.path, '.build'), relative=True)]), sorted(['error.html', 'index.html', 'robots.txt', 'sitemap.xml', self.site.get_url_for_static('/static/css/style.css')[1:], self.site.get_url_for_static('/static/images/favicon.ico')[1:], self.site.get_url_for_static('/static/js/main.js')[1:]]))
