[test] Fix option name in ldap wrong group test 3.25
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 12 Apr 2017 17:26:27 +0200
branch3.25
changeset 12151 569dce882f60
parent 12150 6260c88e0ff5
child 12152 f34d18d0603f
[test] Fix option name in ldap wrong group test which wasn't actually testing what it expected (and nothing guarantee it does now, but that's another story). Fixing this will avoid failure once we properly check the configuration.
cubicweb/server/test/unittest_ldapsource.py
--- a/cubicweb/server/test/unittest_ldapsource.py	Wed Apr 12 15:55:26 2017 +0200
+++ b/cubicweb/server/test/unittest_ldapsource.py	Wed Apr 12 17:26:27 2017 +0200
@@ -229,7 +229,7 @@
         with self.admin_access.repo_cnx() as cnx:
             source = ldapsource(cnx)
             # inject a bogus group here, along with at least a valid one
-            options = {'use-default-group': 'thisgroupdoesnotexists,users'}
+            options = {'user-default-group': 'thisgroupdoesnotexists,users'}
             update_source_config(source, options)
             cnx.commit()
             # here we emitted an error log entry