From e630b912368f89c8f9050b9851c3db999b4a340f Mon Sep 17 00:00:00 2001 From: William Brown Date: Tue, 14 Jun 2016 11:21:15 +1000 Subject: [PATCH] Ticket 48855 - Fix the skeleton password policy test Bug Description: Sadly, there is a mistake in the commited password policy test that does not allow it to run. Fix Description: Remove the un-needed imports, and fix the incorrect int to string conversion. https://fedorahosted.org/389/ticket/48855 Author: wibrown Review by: ??? --- dirsrvtests/tests/suites/password/pwdPolicy_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dirsrvtests/tests/suites/password/pwdPolicy_test.py b/dirsrvtests/tests/suites/password/pwdPolicy_test.py index 653d033..6bff16d 100644 --- a/dirsrvtests/tests/suites/password/pwdPolicy_test.py +++ b/dirsrvtests/tests/suites/password/pwdPolicy_test.py @@ -21,8 +21,6 @@ from lib389.tasks import * logging.getLogger(__name__).setLevel(logging.DEBUG) log = logging.getLogger(__name__) -from lib389.config import RSA, Encryption, Config - DEBUGGING = False USER_DN = 'uid=user,ou=People,%s' % DEFAULT_SUFFIX @@ -86,7 +84,7 @@ def topology(request): standalone.rsa.set('nsSSLToken', 'internal (software)') standalone.rsa.set('nsSSLActivation', 'on') - standalone.config.set('nsslapd-secureport', PORT_STANDALONE2) + standalone.config.set('nsslapd-secureport', '%s' % PORT_STANDALONE2) standalone.config.set('nsslapd-security', 'on') standalone.restart() -- 2.5.5