Merge pull request #5 from morbidrsa/main

Followup
pull/29/head
Markus Steinlein 4 years ago committed by GitHub
commit 884b0a84ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,6 +13,10 @@ def test_static_pages(app, client):
if f == "template.html" or f == "page.html": if f == "template.html" or f == "page.html":
continue continue
# ignore non html files like system files e.g. '.DS_Store', '.thumbsdb', ...
if f.split('.', 1)[1] not in ['html', 'htm']:
continue
static_file = f.split('.', 1)[0] static_file = f.split('.', 1)[0]
page = "/" + static_file + ".html" page = "/" + static_file + ".html"
print("Checking presence of: ", page) print("Checking presence of: ", page)

Loading…
Cancel
Save