'Test that URL rewriting makes pretty links.'

def test_get_path(self):

    self.assertEqual(self.site.get_url_for_page('/index.html'), '/')
    self.assertEqual(self.site.get_url_for_page('/test.html'), '/test/')
    self.assertEqual(self.site.get_url_for_page('/folder/index.html'), '/folder/')
    self.assertEqual(self.site.get_url_for_page('/folder/page.html'), '/folder/page/')
