mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #807 from saimn/fix_webassets_tests
Fix webassets tests when running on a system with a different locale.
This commit is contained in:
commit
433ab37eb8
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
# from __future__ import unicode_literals
|
||||
|
||||
import hashlib
|
||||
import locale
|
||||
import os
|
||||
from codecs import open
|
||||
from tempfile import mkdtemp
|
||||
|
|
@ -31,6 +32,7 @@ class TestWebAssets(unittest.TestCase):
|
|||
'OUTPUT_PATH': self.temp_path,
|
||||
'PLUGINS': ['pelican.plugins.assets', ],
|
||||
'THEME': THEME_DIR,
|
||||
'LOCALE': locale.normalize('en_US'),
|
||||
}
|
||||
if override:
|
||||
settings.update(override)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue