From cf341bc3206f7400357611dc9f774dd125c35b55 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 28 Feb 2017 10:13:37 +0100 Subject: [PATCH] tests: fix list of source object classes --- tests/test_ldapsync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_ldapsync.py b/tests/test_ldapsync.py index 8ac2944..5675b8e 100644 --- a/tests/test_ldapsync.py +++ b/tests/test_ldapsync.py @@ -12,6 +12,7 @@ def test_ldapsync_ldif_to_ldapi(slapd, ldif_path, attributes, pivot_attributes): '--target-uri', slapd.ldap_url, '--target-base-dn', 'o=orga', '--attributes', ' '.join(attributes), + '--source-objectclasses', 'dcObject organization inetOrgPerson', '--verbose', ] for object_class, pivot_attribute in pivot_attributes: @@ -31,6 +32,7 @@ def test_ldapsync_ldif_to_ldapi_attributes_file(slapd, ldif_path, attributes_pat '--target-uri', slapd.ldap_url, '--target-base-dn', 'o=orga', '--attributes-file', attributes_path, + '--source-objectclasses', 'dcObject organization inetOrgPerson', '--verbose', ] for object_class, pivot_attribute in pivot_attributes: @@ -58,6 +60,7 @@ def test_ldapsync_ldap_to_ldap(slapd_tcp1, slapd_tcp2, ldif, attributes, pivot_a '--target-bind-password', slapd_tcp2.root_bind_password, '--target-base-dn', 'o=orga', '--attributes', ' '.join(attributes), + '--source-objectclasses', 'dcObject organization inetOrgPerson', '--verbose', ] for object_class, pivot_attribute in pivot_attributes: