summaryrefslogtreecommitdiffstats
path: root/tests/test_ipaserver/test_ldap.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ipaserver/test_ldap.py')
-rw-r--r--tests/test_ipaserver/test_ldap.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/test_ipaserver/test_ldap.py b/tests/test_ipaserver/test_ldap.py
index 7e5ba390..a35f7830 100644
--- a/tests/test_ipaserver/test_ldap.py
+++ b/tests/test_ipaserver/test_ldap.py
@@ -165,17 +165,21 @@ class test_ldap(object):
assert u'cn' in e.keys()
assert 'CN' in e
assert 'CN' not in e.keys()
+ assert 'commonName' in e
+ assert 'commonName' not in e.keys()
assert e['CN'] is cn1
assert e['CN'] is e[u'cn']
e.dn = dn2
assert e.dn is dn2
- e['CN'] = cn2
+ e['commonName'] = cn2
assert u'cn' in e
assert u'cn' not in e.keys()
assert 'CN' in e
- assert 'CN' in e.keys()
+ assert 'CN' not in e.keys()
+ assert 'commonName' in e
+ assert 'commonName' in e.keys()
assert e['CN'] is cn2
assert e['CN'] is e[u'cn']
@@ -184,3 +188,5 @@ class test_ldap(object):
assert 'CN' not in e.keys()
assert u'cn' not in e
assert u'cn' not in e.keys()
+ assert 'commonName' not in e
+ assert 'commonName' not in e.keys()