Ubuntu Pastebin

Paste from balloons at Fri, 23 Jan 2015 19:22:41 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 launch_click_package(package_id, app_name=None, app_uris=[], **kwargs)[source]

    Launch a click package application with introspection enabled.

    This method takes care of launching a click package with introspection exabled. You probably want to use this method if your application is packaged in a click application, or is started via upstart.

    Usage is similar to the AutopilotTestCase.launch_test_application:

    app_proxy = self.launch_click_package(
        "com.ubuntu.dropping-letters"
    )

    Parameters:	

        package_id – The Click package name you want to launch. For example: com.ubuntu.dropping-letters
        app_name – Currently, only one application can be packaged in a click package, and this parameter can be left at None. If specified, it should be the application name you wish to launch.
        app_uris – Parameters used to launch the click package. This parameter will be left empty if not used.
        emulator_base – If set, specifies the base class to be used for all emulators for this loaded application.

    Raises:	

        RuntimeError – If the specified package_id cannot be found in the click package manifest.
        RuntimeError – If the specified app_name cannot be found within the specified click package.

    Returns:	

    proxy object for the launched package application
Download as text