ametaireau/pelican — Issue #226: failing test "unsupported locale setting"
Author: bbinet
Created: 2012-03-05 22:17:41+00:00
State: open

The following test fails on my environment:
```
$ unit2 discover
....WARNING:root:No timezone information specified in the settings. Assuming your timezone is UTC for feed generation. Check http://docs.notmyidea.org/alexis/pelican/settings.html#timezone for more information
.E....WARNING:root:Author of `foobar' unknow, assuming that his name is `bruno'
.
======================================================================
ERROR: test_datetime (tests.test_contents.TestPage)
If DATETIME is set to a tuple, it should be used to override LOCALE
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bruno/dev/pelican/tests/test_contents.py", line 96, in test_datetime
page = Page( **page_kwargs)
File "/home/bruno/dev/pelican/pelican/contents.py", line 92, in __init__
locale.setlocale(locale.LC_ALL, self.date_format[0])
File "/home/bruno/.virtualenvs/pelican/lib/python2.7/locale.py", line 539, in setlocale
return _setlocale(category, locale)
Error: unsupported locale setting

----------------------------------------------------------------------
Ran 11 tests in 0.033s

FAILED (errors=1)
```