From d71bae7ee523a8be12209e09af169173de4fb0b7 Mon Sep 17 00:00:00 2001 From: Ondrej Grover Date: Wed, 5 Nov 2014 19:45:58 +0100 Subject: [PATCH] use also SIMPLE_THEME in test_settings.py --- pelican/tests/test_settings.py | 6 +++--- 1 file 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