forked from github/pelican
Change RELATIVE_URLS default to False - Fixes #829
This commit is contained in:
parent
679d4aa801
commit
0a8678a8ae
36 changed files with 478 additions and 472 deletions
|
|
@ -56,6 +56,9 @@ class TestWebAssets(unittest.TestCase):
|
|||
class TestWebAssetsRelativeURLS(TestWebAssets):
|
||||
"""Test pelican with relative urls."""
|
||||
|
||||
def setUp(self):
|
||||
TestWebAssets.setUp(self, override={'RELATIVE_URLS': True})
|
||||
|
||||
def test_jinja2_ext(self):
|
||||
# Test that the Jinja2 extension was correctly added.
|
||||
|
||||
|
|
@ -90,8 +93,7 @@ class TestWebAssetsAbsoluteURLS(TestWebAssets):
|
|||
"""Test pelican with absolute urls."""
|
||||
|
||||
def setUp(self):
|
||||
TestWebAssets.setUp(self, override={'RELATIVE_URLS': False,
|
||||
'SITEURL': 'http://localhost'})
|
||||
TestWebAssets.setUp(self, override={'SITEURL': 'http://localhost'})
|
||||
|
||||
def test_absolute_url(self):
|
||||
# Look in the output files for the link tag with absolute url.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue