summaryrefslogtreecommitdiffstats
path: root/ipatests/test_install/test_updates.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_install/test_updates.py')
-rw-r--r--ipatests/test_install/test_updates.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipatests/test_install/test_updates.py b/ipatests/test_install/test_updates.py
index c8147f244..ce932ae00 100644
--- a/ipatests/test_install/test_updates.py
+++ b/ipatests/test_install/test_updates.py
@@ -30,6 +30,7 @@ from ipalib import errors
from ipaserver.install.ldapupdate import LDAPUpdate, BadSyntax
from ipaserver.install import installutils
from ipapython import ipautil, ipaldap
+from ipaplatform.paths import paths
from ipapython.dn import DN
"""
@@ -123,7 +124,7 @@ class test_update(unittest.TestCase):
for item in ('top', 'person', 'posixaccount', 'krbprincipalaux', 'inetuser'):
self.assertTrue(item in objectclasses)
- self.assertEqual(entry.single_value['loginshell'], '/bin/bash')
+ self.assertEqual(entry.single_value['loginshell'], paths.BASH)
self.assertEqual(entry.single_value['sn'], 'User')
self.assertEqual(entry.single_value['uid'], 'tuser')
self.assertEqual(entry.single_value['cn'], 'Test User')
@@ -307,7 +308,7 @@ class test_update(unittest.TestCase):
for item in ('top', 'person', 'posixaccount', 'krbprincipalaux', 'inetuser'):
self.assertTrue(item in objectclasses)
- self.assertEqual(entry.single_value['loginshell'], '/bin/bash')
+ self.assertEqual(entry.single_value['loginshell'], paths.BASH)
self.assertEqual(entry.single_value['sn'], 'User')
self.assertEqual(entry.single_value['uid'], 'tuser')
self.assertEqual(entry.single_value['cn'], 'Test User')