﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28224	Test for SuspiciousOperation subclasses rather than SuspiciousOperation in Django's tests	Mads Jensen	Rajesh Veeranki	"`tests/requests/tests.py` contains some less specific tests. Actually, it's `DisallowedHost` that's being raised instead for all of these cases. Isn't it better in general to test for the actual exception class? Probably there are other cases of tests like this that could be made more specific.

{{{
with self.assertRaises(SuspiciousOperation):
}}}"	Cleanup/optimization	closed	Core (Other)	dev	Normal	fixed	exception classes		Ready for checkin	1	0	0	0	0	0
