mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
test: explicitly verify that all static files are present.
This commit is contained in:
parent
430868e859
commit
4995a5c641
1 changed files with 11 additions and 0 deletions
|
|
@ -741,6 +741,17 @@ class TestStaticGenerator(unittest.TestCase):
|
|||
"theme/css/")))
|
||||
self.assertFalse(os.path.isdir(os.path.join(self.temp_output,
|
||||
"theme/fonts/")))
|
||||
|
||||
self.assertTrue(os.path.isfile(os.path.join(
|
||||
self.temp_output, "theme/Yanone_Kaffeesatz_400.eot")))
|
||||
self.assertTrue(os.path.isfile(os.path.join(
|
||||
self.temp_output, "theme/Yanone_Kaffeesatz_400.svg")))
|
||||
self.assertTrue(os.path.isfile(os.path.join(
|
||||
self.temp_output, "theme/Yanone_Kaffeesatz_400.ttf")))
|
||||
self.assertTrue(os.path.isfile(os.path.join(
|
||||
self.temp_output, "theme/Yanone_Kaffeesatz_400.woff")))
|
||||
self.assertTrue(os.path.isfile(os.path.join(
|
||||
self.temp_output, "theme/Yanone_Kaffeesatz_400.woff2")))
|
||||
self.assertTrue(os.path.isfile(os.path.join(self.temp_output,
|
||||
"theme/font.css")))
|
||||
self.assertTrue(os.path.isfile(os.path.join(self.temp_output,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue