Code review comment for lp:~leonardr/launchpadlib/trusted-workflow-tests-2

Revision history for this message
Leonard Richardson (leonardr) wrote :

This branch creates a TrustedTokenAuthorizationConsoleApp, a console application that guides the end-user through the process of authorizing a request token. It creates a lot of doctests for the App object and a small command-line script that invokes it. The doctests use the new UserInput class which simulates a user typing things into a console application.

There are a lot of small spacing tweaks in this branch to make the application look good when run from the command line. These changes don't necessarily show up in the doctests, which are much more lenient about whitespace.

In addition to the doctests I manually ran the console application to test things that can't be automatically tested such as the use of getpass and the opening of a page in the web browser.

« Back to merge proposal