﻿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
4901	Allow assertContains to check for existence, without count	nis@…	Adrian Holovaty	"I was a little surprised  by the fact that django.test.testCase.assertContains does not cover the case where we want to make sure the content contains the text, but we do not care about the count. To me, this is the most common use case.

I suggest that this is made the default behavior (slightly changing functionality, by making the assertion less strict if no count is given).

I have attached a patch against trunk rev 5646. I did not write testcases, since none existed for the existing behavior.

Nis Jorgensen"		closed	Testing framework	dev		fixed	testcase assertcontains	nis@…	Unreviewed	1	0	0	0	0	0
