forked from github/pelican
fix some more test still using dict
This commit is contained in:
parent
ad6b483746
commit
d88cc86df2
2 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ DEFAULT_CONFIG = {
|
||||||
'PAGE_PATHS': ['pages'],
|
'PAGE_PATHS': ['pages'],
|
||||||
'PAGE_EXCLUDES': [],
|
'PAGE_EXCLUDES': [],
|
||||||
'THEME': DEFAULT_THEME,
|
'THEME': DEFAULT_THEME,
|
||||||
'THEMES': ['simple', ('!simple', 'simple')],
|
'THEMES': [DEFAULT_THEME, ('!simple', DEFAULT_THEME)],
|
||||||
'OUTPUT_PATH': 'output',
|
'OUTPUT_PATH': 'output',
|
||||||
'READERS': {},
|
'READERS': {},
|
||||||
'STATIC_PATHS': ['images'],
|
'STATIC_PATHS': ['images'],
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ class TestSettingsConfiguration(unittest.TestCase):
|
||||||
# These 4 settings are required to run configure_settings
|
# These 4 settings are required to run configure_settings
|
||||||
'PATH': '.',
|
'PATH': '.',
|
||||||
'THEME': DEFAULT_THEME,
|
'THEME': DEFAULT_THEME,
|
||||||
'THEMES': {'!simple': 'simple'},
|
'THEMES': ['simple', ('!simple', 'simple')],
|
||||||
'SITEURL': 'http://blog.notmyidea.org/',
|
'SITEURL': 'http://blog.notmyidea.org/',
|
||||||
'LOCALE': '',
|
'LOCALE': '',
|
||||||
}
|
}
|
||||||
|
|
@ -91,7 +91,7 @@ class TestSettingsConfiguration(unittest.TestCase):
|
||||||
'LOCALE': '',
|
'LOCALE': '',
|
||||||
'PATH': os.curdir,
|
'PATH': os.curdir,
|
||||||
'THEME': DEFAULT_THEME,
|
'THEME': DEFAULT_THEME,
|
||||||
'THEMES': {'!simple': 'simple'},
|
'THEMES': ['simple', ('!simple', 'simple')],
|
||||||
}
|
}
|
||||||
configure_settings(settings)
|
configure_settings(settings)
|
||||||
# SITEURL should not have a trailing slash
|
# SITEURL should not have a trailing slash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue