forked from github/pelican
Use the en-us locale for functional tests
This commit is contained in:
parent
9847394e12
commit
d7caaded3f
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue