changeset 9864 | f60a80592224 |
parent 9790 | 0872ac2a1db0 |
child 9886 | 1b26289217a3 |
--- a/devtools/__init__.py Thu Jun 05 16:30:58 2014 +0200 +++ b/devtools/__init__.py Fri Jun 06 14:55:26 2014 +0200 @@ -277,8 +277,9 @@ sourcefile='/path/to/sources') def test_something(self): - rset = self.execute('Any X WHERE X is CWUser') - self.view('foaf', rset) + with self.admin_access.web_request() as req: + rset = req.execute('Any X WHERE X is CWUser') + self.view('foaf', rset, req=req) """ skip_db_create_and_restore = True