1
0
Fork 0
forked from github/pelican

Update links to HTTPS and current 301 redirects in docs/templates/themes (#2661)

This also updates the Tumblr API to use HTTPS as documented in the
current Tumblr API docs.
This commit is contained in:
Kurt McKee 2020-04-12 09:38:35 -05:00 committed by GitHub
commit 7bbd3dc6fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
128 changed files with 267 additions and 266 deletions

View file

@ -68,6 +68,7 @@ class TestPelican(LoggedTestCase):
# Work around for running tests on Windows
for msg in [
"LF will be replaced by CRLF",
"CRLF will be replaced by LF",
"The file will have its original line endings"]:
if msg in line:
return True
@ -117,7 +118,7 @@ class TestPelican(LoggedTestCase):
'PATH': INPUT_PATH,
'OUTPUT_PATH': self.temp_path,
'CACHE_PATH': self.temp_cache,
'LOCALE': locale.normalize('en_US'),
'LOCALE': locale.normalize('en_US.UTF-8'),
})
pelican = Pelican(settings=settings)
mute(True)(pelican.run)()