﻿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
5995	assertContains() - AttributeError	b23dev@…	nobody	"I get a AttributeError when I try the django test client method assertContains(): 
(found assertContains() in the documentation, http://www.djangoproject.com/documentation/testing/)

{{{

class TestUsers(unittest.TestCase):

    def setUp(self):
        self.client = Client()

    def testUsername(self):
        response = self.client.get('/username/')
        self.assertContains(response, ""actionjakson"", count=None, status_code=200)


}}}

i got this traceback:

{{{

Traceback (most recent call last):
  File ""/home/src/vp/../vp/portal/tests.py"", line 49, in testUsername
    self.assertContains(response, ""actionjakson"", count=None, status_code=200)
AttributeError: 'TestUsers' object has no attribute 'assertContains'


}}}

I'm using a fresh django svn checkout."		closed	Uncategorized	dev		worksforme	test, assertContains		Unreviewed	0	0	0	0	0	0
