﻿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
16183	Incorrect test in contrib.auth silently passes	Nikolay Zakharov	Nikolay Zakharov	"There are a test case: [source:django/trunk/django/contrib/auth/tests/permissions.py@16341#L36 auth.TestAuthPermissions]. It checks that the ordering of autogenerated permissions is the same (ticket [ticket:14731]) by creating permissions and trying to load fixture, then checking that 'loaddata' passed with clean stderr.

The problem is that this fixture (""test_permissions.json"") has been checked in with different name (""permissionstestdata.json""). The bigger problem is that ""loaddata test_permissions.json"" yields ""No fixtures found."" in stdout, leaving stderr clean. So the test was here and passed without an error since checkin.

Attaching patch that fixes fixture name and the fixture itself (as it contains contenttype for legacy auth.Message model which breaks the test)."	Bug	closed	contrib.auth	1.3	Normal	fixed			Ready for checkin	1	0	0	0	0	0
