branch | tls-sprint |
changeset 1142 | 03a9acf3c299 |
parent 1133 | 8a409ea0c9ec |
child 1152 | c99ef2a2535c |
--- 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)