diff options
author | Ondrej Grover <ondrej.grover@gmail.com> | 2014-11-05 19:45:58 +0100 |
---|---|---|
committer | Ondrej Grover <ondrej.grover@gmail.com> | 2014-11-05 19:45:58 +0100 |
commit | d71bae7ee523a8be12209e09af169173de4fb0b7 (patch) | |
tree | 74955007251cf65da1de447d02929a8b34452c80 | |
parent | 5642f113679b6dc24db34e284383f2ed5729db29 (diff) | |
download | pelican-add_multi_theme_support.tar.gz |
use also SIMPLE_THEME in test_settings.pyadd_multi_theme_support
-rw-r--r-- | pelican/tests/test_settings.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pelican/tests/test_settings.py b/pelican/tests/test_settings.py index 11387418..7be433b4 100644 --- a/pelican/tests/test_settings.py +++ b/pelican/tests/test_settings.py @@ -6,7 +6,7 @@ import locale from os.path import dirname, abspath, join from pelican.settings import (read_settings, configure_settings, - DEFAULT_CONFIG, DEFAULT_THEME) + DEFAULT_CONFIG, DEFAULT_THEME, SIMPLE_THEME) from pelican.tests.support import unittest @@ -73,7 +73,7 @@ class TestSettingsConfiguration(unittest.TestCase): # These 4 settings are required to run configure_settings 'PATH': '.', 'THEME': DEFAULT_THEME, - 'THEMES': ['simple', ('!simple', 'simple')], + 'THEMES': [SIMPLE_THEME, ['!simple', SIMPLE_THEME]], 'SITEURL': 'http://blog.notmyidea.org/', 'LOCALE': '', } @@ -91,7 +91,7 @@ class TestSettingsConfiguration(unittest.TestCase): 'LOCALE': '', 'PATH': os.curdir, 'THEME': DEFAULT_THEME, - 'THEMES': ['simple', ('!simple', 'simple')], + 'THEMES': [SIMPLE_THEME, ['!simple', SIMPLE_THEME]], } configure_settings(settings) # SITEURL should not have a trailing slash |