Change case of local variable to lower

This commit is contained in:
Micah Jerome Ellison 2022-06-25 12:16:03 -07:00
parent 3d295149d8
commit 290adf27c5

View file

@ -231,9 +231,9 @@ def mock_user_input(request, password_input, stdin_input):
return password_input return password_input
if isinstance(user_input, Iterable): if isinstance(user_input, Iterable):
Input_line = next(user_input) input_line = next(user_input)
# A raw newline is used to indicate deliberate empty input # A raw newline is used to indicate deliberate empty input
return "" if Input_line == r"\n" else Input_line return "" if input_line == r"\n" else input_line
# exceptions # exceptions
return user_input if not kwargs["password"] else password_input return user_input if not kwargs["password"] else password_input