Gitub actions (#53)
* push action Initial scratch pad * #26 requirements.txt added * #26 unit test failures fixes * #26 install theme in action python3 compatible test * #26 test failure fixes based on new pelican * #26 python3 test fixes
This commit is contained in:
parent
a31ff4e2c9
commit
b7c3285563
6 changed files with 78 additions and 10 deletions
|
@ -13,7 +13,7 @@ def tearDownModule():
|
|||
print("teardown module")
|
||||
try:
|
||||
rmtree(OUTPUT_DIR)
|
||||
except OSError, e:
|
||||
except OSError as e:
|
||||
print ("Error: %s - %s." % (e.filename,e.strerror))
|
||||
|
||||
class ArticleCoverImageTest(unittest.TestCase, BaseTest):
|
||||
|
@ -59,7 +59,7 @@ class ArticleCoverImageTest(unittest.TestCase, BaseTest):
|
|||
def test_article_theme_cover(self):
|
||||
rstPath="content/article_without_cover.rst"
|
||||
result, soup = self.gen_article_and_html_from_rst(rstPath)
|
||||
selected = soup.find(id="blog-header")
|
||||
selected = soup.find(id="post-header")
|
||||
# Assertion
|
||||
self.assertTrue("class" not in selected)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue