1
0
Fork 0
forked from github/pelican

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:
Justin Mayer 2013-03-28 06:39:44 -07:00
commit 433ab37eb8

View file

@ -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)