home / django_tickets / tickets

tickets: 16183

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
16183 2011-06-09 11:45:09 2011-06-14 10:45:50 2022-03-06 04:02:30.154612 Ready for checkin closed contrib.auth Bug Normal 1.3 fixed Incorrect test in contrib.auth silently passes 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). desh desh   0 1 0 0 0 0
Powered by Datasette · Queries took 0.889ms