@@ -161,7 +161,7 @@ def test_falls_back_to_stdin(self):
161161 self .assertIn ('Warning' , stderr .getvalue ())
162162 self .assertIn ('Password:' , stderr .getvalue ())
163163
164- def test_echochar_replaces_input_with_asterisks (self ):
164+ def test_echo_char_replaces_input_with_asterisks (self ):
165165 mock_result = '*************'
166166 with mock .patch ('os.open' ) as os_open , \
167167 mock .patch ('io.FileIO' ), \
@@ -177,7 +177,7 @@ def test_echochar_replaces_input_with_asterisks(self):
177177 input = textio (), echo_char = '*' )
178178 self .assertEqual (result , mock_result )
179179
180- def test_raw_input_with_echochar (self ):
180+ def test_raw_input_with_echo_char (self ):
181181 passwd = 'my1pa$$word!'
182182 mock_input = StringIO (f'{ passwd } \n ' )
183183 mock_output = StringIO ()
@@ -188,7 +188,7 @@ def test_raw_input_with_echochar(self):
188188 self .assertEqual (result , passwd )
189189 self .assertEqual ('Password: ************' , mock_output .getvalue ())
190190
191- def test_control_chars_with_echochar (self ):
191+ def test_control_chars_with_echo_char (self ):
192192 passwd = 'pass\t wd\b '
193193 expect_result = 'pass\t w'
194194 mock_input = StringIO (f'{ passwd } \n ' )
0 commit comments