]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2713] Fix test docstrings
authorJelte Jansen <jelte@isc.org>
Thu, 28 Feb 2013 14:45:32 +0000 (15:45 +0100)
committerJelte Jansen <jelte@isc.org>
Thu, 28 Feb 2013 14:45:32 +0000 (15:45 +0100)
src/bin/usermgr/tests/b10-cmdctl-usermgr_test.py

index 4f71cee1442007bca780dd8a9b03b9d860af635e..3d0d4afba8608c4d38b9f746caa0c4dd897fafed 100644 (file)
@@ -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' ]