c.l.ftests : package documentation

Part of canonical.launchpad

No package docstring
Module event Compatibility shim.
Module feeds_helper Helper functions for testing feeds.
Module harness Launchpad functional test helpers.
Module keys_for_tests OpenPGP keys used for testing.
Module logintoken Helper functions for logintoken-related tests.
Module script Helper functions for running external commands.
Module test_libraryfilealias Tests for the LibraryFileAlias.
Module test_opensource Run the standalone tests in an opensource package.
Module test_system_documentation Test the examples included in the system documentation in
Module test_wadllib Run the standalone wadllib tests.
Module _launchpadformharness Infrastructure for testing LaunchpadFormView subclasses.
Module _sqlobject Helper functions for testing SQLObjects.

From the __init__.py module:

Function set_branding Set the icon, logo and mugshot fields on the given browser instance.
def set_branding(browser, icon=True, logo=True, mugshot=True):
Set the icon, logo and mugshot fields on the given browser instance.

Setting any of the image parameters to False will NOT set that particular item. This allows us to use the function to test branding on IPerson and ISprint which do not allow the setting of custom icons.

This function expects that the given browser instance contains a set of field.icon, field.logo and field.mugshot fields, as generated by an ImageChangeWidget.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.