Browse Source

[2713] Fix test docstrings

Jelte Jansen 12 years ago
parent
commit
a09e9bd49e
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/bin/usermgr/tests/b10-cmdctl-usermgr_test.py

+ 6 - 1
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' ]