summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfigTest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/SSSDConfigTest.py')
-rwxr-xr-xsrc/config/SSSDConfigTest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index 2d637bb99..127ad22cf 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -1323,7 +1323,12 @@ class SSSDConfigTestSSSDConfig(unittest.TestCase):
self.assertTrue(isinstance(domain, SSSDConfig.SSSDDomain))
self.assertTrue(domain.active)
+ domain = sssdconfig.get_domain('LDAP')
+ self.assertTrue(isinstance(domain, SSSDConfig.SSSDDomain))
+ self.assertFalse(domain.active)
+
# TODO verify the contents of this domain
+ self.assertTrue(domain.get_option('ldap_id_use_start_tls'))
# Negative Test - No such domain
self.assertRaises(SSSDConfig.NoDomainError, sssdconfig.get_domain, 'nosuchdomain')