[MERGE] Add a get_login method to UIFactory and test get_password

Robert Collins robertc at robertcollins.net
Wed Feb 21 01:25:55 GMT 2007


On Wed, 2007-02-21 at 12:15 +1100, Martin Pool wrote:
> 
> Creating a pseudotty might work but that is obviously not portable and
> really seems like we're getting into testing getpass rather than our
> own
> code... 

Perhaps we should just stub out getpass for our tests, rather than
mucking about with stdin etc?

This would be a useful interface for GUI's as well it occurs to me,
because they probably dont want the console getpass to be triggered...

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070221/fee59d5b/attachment.pgp 


More information about the bazaar mailing list