sobjects/test/unittest_email.py
changeset 7244 a918f76441ce
parent 6340 470d8e828fda
child 7791 31bb51ea5485
--- a/sobjects/test/unittest_email.py	Fri Apr 22 10:29:23 2011 +0200
+++ b/sobjects/test/unittest_email.py	Fri Apr 22 11:58:41 2011 +0200
@@ -54,7 +54,8 @@
         self.failIf(rset.rowcount != 1, rset)
 
     def test_security_check(self):
-        self.create_user('toto')
+        req = self.request()
+        self.create_user(req, 'toto')
         email1 = self.execute('INSERT EmailAddress E: E address "client@client.com", U use_email E WHERE U login "admin"')[0][0]
         self.commit()
         cnx = self.login('toto')