mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
all test pass
This commit is contained in:
parent
3cd84ab396
commit
dc6934be43
5 changed files with 61 additions and 12 deletions
|
|
@ -4,12 +4,11 @@ import os
|
|||
from pelican.settings import read_settings, _DEFAULT_CONFIG
|
||||
|
||||
SETTINGS = os.sep.join([os.path.dirname(os.path.abspath(__file__)),
|
||||
"../../samples/pelican.conf.py"])
|
||||
"default_conf.py"])
|
||||
|
||||
class SettingsTest(TestCase):
|
||||
|
||||
|
||||
def test_read_settings(self):
|
||||
def test_read_settings_from_file(self):
|
||||
# providing a file, it should read it, replace the default values and append
|
||||
# new values to the settings, if any
|
||||
settings = read_settings(SETTINGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue