1
0
Fork 0
forked from github/pelican

Use the en-us locale for functional tests

This commit is contained in:
Alexis Métaireau 2013-01-11 21:24:04 +01:00
commit d7caaded3f

View file

@ -10,8 +10,6 @@ from shutil import rmtree
import locale
import logging
from mock import patch
from pelican import Pelican
from pelican.settings import read_settings
from .support import LogCountHandler
@ -73,6 +71,7 @@ class TestPelican(unittest.TestCase):
settings = read_settings(filename=None, override={
'PATH': INPUT_PATH,
'OUTPUT_PATH': self.temp_path,
'LOCALE': locale.normalize('en_US'),
})
pelican = Pelican(settings=settings)
pelican.run()
@ -88,6 +87,7 @@ class TestPelican(unittest.TestCase):
settings = read_settings(filename=SAMPLE_CONFIG, override={
'PATH': INPUT_PATH,
'OUTPUT_PATH': self.temp_path,
'LOCALE': locale.normalize('en_US'),
})
pelican = Pelican(settings=settings)
pelican.run()