# HG changeset patch # User Aurelien Campeas # Date 1390497976 -3600 # Node ID 367fe83d9f986ea4e3fe1c427df3f778d813ac68 # Parent b1ff6525ece314dfdd36bad390ddd96ce6ca9792 [devtools] _orig_cnx does not exist any more (missing change) diff -r b1ff6525ece3 -r 367fe83d9f98 devtools/testlib.py --- 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), diff -r b1ff6525ece3 -r 367fe83d9f98 pytestconf.py --- 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)