This is an automated email from the git hooks/post-receive script.
spichugi pushed a commit to branch master
in repository 389-ds-base.
commit 943181d6ed88aa1046d1dc7e268a6f5f1ddc6acf
Author: Amita Sharma <amsharma(a)redhat.com>
Date: Thu Aug 24 19:51:19 2017 +0530
Issue 48059: Add docstrings to CLU tests
Description: Refactor the CLU test suite docstrings
https://pagure.io/389-ds-base/issue/48059
Reviewed by: Simon Pichugin
Signed-off-by: Simon Pichugin <spichugi(a)redhat.com>
---
dirsrvtests/tests/suites/clu/clu_test.py | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/dirsrvtests/tests/suites/clu/clu_test.py
b/dirsrvtests/tests/suites/clu/clu_test.py
index 4567a5d..cec1762 100644
--- a/dirsrvtests/tests/suites/clu/clu_test.py
+++ b/dirsrvtests/tests/suites/clu/clu_test.py
@@ -6,6 +6,7 @@
# See LICENSE for details.
# --- END COPYRIGHT BLOCK ---
#
+
import pytest
from lib389.tasks import *
from lib389.utils import *
@@ -16,7 +17,22 @@ log = logging.getLogger(__name__)
def test_clu_pwdhash(topology_st):
- """Test the pwdhash script"""
+ """Test the pwdhash script output and encrypted password length
+
+ :id: faaafd01-6748-4451-9d2b-f3bd47902447
+
+ :setup: Standalone instance
+
+ :steps:
+ 1. Execute /usr/bin/pwdhash -s ssha testpassword command from command line
+ 2. Check if there is any output
+ 3. Check the length of the generated output
+
+ :expectedresults:
+ 1. Execution should PASS
+ 2. There should be an output from the command
+ 3. Output length should not be less than 20
+ """
log.info('Running test_clu_pwdhash...')
@@ -43,3 +59,4 @@ if __name__ == '__main__':
# -s for DEBUG mode
CURRENT_FILE = os.path.realpath(__file__)
pytest.main("-s %s" % CURRENT_FILE)
+
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.