BIND 10 trac2713, updated. a09e9bd49e0dfa6f4eb9b50da0e1d8b7e76affa2 [2713] Fix test docstrings

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Feb 28 14:45:44 UTC 2013


The branch, trac2713 has been updated
       via  a09e9bd49e0dfa6f4eb9b50da0e1d8b7e76affa2 (commit)
      from  4162a63acb076e595b004e862b4f117a184156b1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a09e9bd49e0dfa6f4eb9b50da0e1d8b7e76affa2
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Feb 28 15:45:32 2013 +0100

    [2713] Fix test docstrings

-----------------------------------------------------------------------

Summary of changes:
 src/bin/usermgr/tests/b10-cmdctl-usermgr_test.py |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/usermgr/tests/b10-cmdctl-usermgr_test.py b/src/bin/usermgr/tests/b10-cmdctl-usermgr_test.py
index 4f71cee..3d0d4af 100644
--- a/src/bin/usermgr/tests/b10-cmdctl-usermgr_test.py
+++ b/src/bin/usermgr/tests/b10-cmdctl-usermgr_test.py
@@ -313,7 +313,7 @@ Options:
     def test_prompt_for_password_empty(self):
         """
         Check that the method that prompts for a password verifies that
-        the same value is entered twice
+        the value entered is not empty
         """
         # returns an empty string until it has been called over 10
         # times
@@ -336,6 +336,11 @@ Options:
                 self.assertEqual(expected_output, ''.join(pc.stdout_lines))
 
     def test_prompt_for_user(self):
+        """
+        Test that the method that prompts for a username verifies that
+        is not empty, and that it exists (or does not, depending on the
+        action that is specified)
+        """
         new_input_called = 0
         input_results = [ '', '', 'existinguser', 'nonexistinguser',
                           '', '', 'nonexistinguser', 'existinguser' ]



More information about the bind10-changes mailing list