From 49be6c8d3cc20902dbe8e92a74e31aed2fd21d9f Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 19 Jan 2016 14:18:30 +0100 Subject: Move user/group constants for PKI and DS into ipaplatform https://fedorahosted.org/freeipa/ticket/5619 Reviewed-By: David Kupka Reviewed-By: Fraser Tweedale --- ipatests/test_integration/test_backup_and_restore.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ipatests') diff --git a/ipatests/test_integration/test_backup_and_restore.py b/ipatests/test_integration/test_backup_and_restore.py index b8abb343b..ffd086bae 100644 --- a/ipatests/test_integration/test_backup_and_restore.py +++ b/ipatests/test_integration/test_backup_and_restore.py @@ -23,6 +23,7 @@ import os import re import contextlib +from ipaplatform.constants import constants from ipapython.ipa_log_manager import log_mgr from ipapython.dn import DN from ipatests.test_integration.base import IntegrationTest @@ -164,8 +165,8 @@ class TestBackupAndRestore(IntegrationTest): '--uninstall', '-U']) - self.master.run_command(['userdel', 'dirsrv']) - self.master.run_command(['userdel', 'pkiuser']) + self.master.run_command(['userdel', constants.DS_USER]) + self.master.run_command(['userdel', constants.PKI_USER]) homedir = os.path.join(self.master.config.test_dir, 'testuser_homedir') -- cgit