branch | 3.25 |
changeset 12132 | be2c14ea2736 |
parent 12058 | 52ce05f7e9ee |
child 12136 | 6069ee7d4824 |
--- a/cubicweb/server/test/unittest_ldapsource.py Tue Apr 04 18:47:13 2017 +0200 +++ b/cubicweb/server/test/unittest_ldapsource.py Wed Apr 05 10:34:04 2017 +0200 @@ -147,8 +147,8 @@ cnx.commit() return cls.pull(cnx) - @classmethod - def pull(self, cnx): + @staticmethod + def pull(cnx): lfsource = cnx.repo.sources_by_uri['ldap'] stats = lfsource.pull_data(cnx, force=True, raise_on_error=True) cnx.commit()