﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20117	Flatpages test failure in a project with language different to 'en'	matiasb	matiasb	"Having a project with contrib.flatpages in INSTALLED_APPS and a LANGUAGE_CODE setting different to 'en' (for example, LANGUAGE_CODE = 'fr-fr'), running flatpages tests I'm getting a failing test:

{{{
$ ./manage.py test flatpages
Creating test database for alias 'default'...
.F...............................................
======================================================================
FAIL: test_flatpage_admin_form_url_uniqueness_validation (django.contrib.flatpages.tests.forms.FlatpageAdminFormTests)
The flatpage admin form correctly enforces url uniqueness among flatpages of the same site
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/home/matiasb/projects/django/dev/django/django/contrib/flatpages/tests/forms.py"", line 65, in test_flatpage_admin_form_url_uniqueness_validation
    {'__all__': ['Flatpage with url /myflatpage1/ already exists for site example.com']})
AssertionError: {u'__all__': [u""La page statique \xe0 l'URL /myflatpage1/ existe d\xe9j\xe0 pour le site example.com""]} != {u'__all__': [u'Flatpage with url /myflatpage1/ already exists for site example.com']}

----------------------------------------------------------------------
Ran 49 tests in 4.370s

FAILED (failures=1)
}}}
"	Bug	closed	contrib.flatpages	dev	Normal	fixed			Ready for checkin	1	0	0	0	1	0
