Re: [Django] #37205: Replace assertIsInstance HttpResponse test assertions as do not fail if result is a subclass (was: Tests asserting result isinstance of HttpResponse do not fail if result is a subclass)

0 views
Skip to first unread message

Django

unread,
2:31 AM (2 hours ago) 2:31 AM
to django-...@googlegroups.com
#37205: Replace assertIsInstance HttpResponse test assertions as do not fail if
result is a subclass
-------------------------------------+-------------------------------------
Reporter: Jonathan Biemond | Owner: Jonathan
Type: | Biemond
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: tests, internal | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* component: Uncategorized => Core (Other)
* stage: Unreviewed => Accepted
* summary:
Tests asserting result isinstance of HttpResponse do not fail if
result is a subclass
=>
Replace assertIsInstance HttpResponse test assertions as do not fail
if result is a subclass

Comment:

Agreed, thank you!
--
Ticket URL: <https://code.djangoproject.com/ticket/37205#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages