--- a/devtools/testlib.py Mon Jan 06 17:25:55 2014 +0100
+++ b/devtools/testlib.py Thu Jan 23 18:26:16 2014 +0100
@@ -587,7 +587,7 @@
groups = login
login = req
assert not isinstance(self, type)
- req = self._orig_cnx[0].request()
+ req = self._admin_clt_cnx
if password is None:
password = login.encode('utf8')
user = req.create_entity('CWUser', login=unicode(login),
--- a/pytestconf.py Mon Jan 06 17:25:55 2014 +0100
+++ b/pytestconf.py Thu Jan 23 18:26:16 2014 +0100
@@ -43,6 +43,6 @@
if not cls.repo.shutting_down:
cls.repo.shutdown()
del cls.repo
- for clsattr in ('cnx', '_orig_cnx', 'config', '_config', 'vreg', 'schema'):
+ for clsattr in ('cnx', 'config', '_config', 'vreg', 'schema'):
if clsattr in cls.__dict__:
delattr(cls, clsattr)