author | sylvain.thenault@logilab.fr |
Thu, 26 Mar 2009 18:53:14 +0100 | |
branch | tls-sprint |
changeset 1142 | 03a9acf3c299 |
parent 1141 | 66d532e62dd8 |
child 1143 | 8d097defbf2c |
--- a/devtools/testlib.py Thu Mar 26 18:53:03 2009 +0100 +++ b/devtools/testlib.py Thu Mar 26 18:53:14 2009 +0100 @@ -180,7 +180,7 @@ :returns: an instance of `cubicweb.devtools.htmlparser.PageInfo` encapsulation the generated HTML """ - req = req or rset.req + req = req or rset and rset.req or self.request() # print "testing ", vid, # if rset: # print rset, len(rset), id(rset)