django: unit testing html response and sessions

Posted by Marconi on Stack Overflow See other posts from Stack Overflow or by Marconi
Published on 2010-05-17T13:38:15Z Indexed on 2010/05/17 13:40 UTC
Read the original article Hit count: 172

Filed under:
|
|

Is there a way to test the html from the response of:

response = self.client.get('/user/login/')

I want a detailed check like input ids, and other attributes. Also, how about sessions that has been set? is it possible to check their values in the test?

© Stack Overflow or respective owner

Related posts about django

Related posts about python