I have a click command called download which prompts the user for a username and password before downloading a series of files:
$ python download.py
Username: jkarimi91
Password: 1234
Download complete!
To test this command, I need to be able to pass both a username and a password, separately, to stdin. The CliRunner.invoke() method has an input argument but it does not accept lists. Is it possible to pass multiple inputs to CliRunner.invoke()?