Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#15622 closed (fixed)

TransactionTestCases are broken by django.contrib.contenttypes in 1.2.5

Reported by: zyga Owned by: nobody
Component: Testing framework Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This issue seems identical to ticket 14975

The missing call to ContentType.objects.clear_cache() is in django.contrib.contenttypes.tests:ContentTypeTests.tearDown

Attachments (1)

fix-15622.patch (412 bytes ) - added by zyga 14 years ago.
Patch for this issue

Download all attachments as: .zip

Change History (4)

by zyga, 14 years ago

Attachment: fix-15622.patch added

Patch for this issue

comment:1 by Russell Keith-Magee, 14 years ago

Component: UncategorizedTesting framework
Triage Stage: UnreviewedReady for checkin

Interestingly, I can't reproduce this problem with trunk; only with 1.2.X. However, it's probably worth apply to trunk just in case.

comment:2 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

In [15867]:

Fixed #15622 -- Clear content type cache to avoid problems with subsequence TransactionTestCases. Thanks to zyga for the report

comment:3 by Russell Keith-Magee, 14 years ago

In [15868]:

[1.2.X] Fixed #15622 -- Clear content type cache to avoid problems with subsequence TransactionTestCases. Thanks to zyga for the report

Backport of r15867 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top