#16925: disconnect signal before checking test success
----------------------+----------------------------
Reporter: adsworth | Owner: adsworth
Type: Bug | Status: new
Milestone: | Component: Python 3
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Easy pickings: 0
UI/UX: 0 |
----------------------+----------------------------
Disconnect the presave signal before calling assertEquals, in the test
`regressiontests.fixtures_regress.tests.TestFixtures.test_field_value_coerce`
. If the test fails (as it currently does for Python 3) the pre_save
signal stays connected and causes a multitude of later tests to error.
before fix:
Ran 4036 tests in 94.677s
FAILED (failures=505, errors=1375, skipped=56, expected failures=1,
unexpected successes=1)
after fix:
Ran 4090 tests in 229.091s
FAILED (failures=600, errors=770, skipped=72, expected failures=2,
unexpected successes=1)
--
Ticket URL: <https://code.djangoproject.com/ticket/16925>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.