#1141 closed defect (fixed)
[patch] Fix various unit test failures in r1799
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Other) | Version: | |
| Severity: | minor | Keywords: | magic-removal unit test failure | 
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
As of r1799, there are 6 unit tests failing in the magic-removal branch.
3 faillures were introduced by r1794, when a __repr__ method was added to MultiValueDict.
3 failures were introduced by r1797, when a debug print statement was left in the commit for do_html2python.
This patch resolves these 6 failures.
Attachments (1)
Change History (3)
by , 20 years ago
| Attachment: | unit_tests.r1799.patch added | 
|---|
comment:1 by , 20 years ago
In addition to the patch described here, line 463 of source:django/branches/magic-removal/django/db/models/manipulators.py#1799 contains another debug print statment.
Although it doesn't currently cause a test failure, this is probably only because there is no test coverage of manipulator collections. Removing this line as well is probably a good idea.
comment:2 by , 20 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Patch to resolve unit test failures in r1799