django: unit testing html tags from 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/19
0:50 UTC
Read the original article
Hit count: 242
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