Commit dd108a83 authored by Rémi Cardona's avatar Rémi Cardona
Browse files

[test] Use CubicWeb 3.19 test API

parent eefada3e5e91
......@@ -9,12 +9,13 @@ from cubicweb.web.request import CubicWebRequestBase
class ForgotTC(CubicWebTC):
def setup_database(self):
req = self.request()
with self.admin_access.repo_cnx() as cnx:
for index in xrange(4):
user = self.create_user(req, u'test_user%s' % index)
user = self.create_user(cnx, u'test_user%s' % index)
address=u'' % index,
def test_reset_password(self):
MAILBOX[:] = []
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment