Module ImportFrom alias alias alias alias alias alias alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str With Call AttributeLoad NameLoad attr NameLoad body Expr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameStore body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad Str attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Str NameLoad decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A os pants.base.exceptions TaskError pants.util.contextutil temporary_dir temporary_file pants_test.contrib.android.test_android_base TestAndroidBase pants.contrib.android.tasks.sign_apk SignApkTask SignApkTest N/A TestAndroidBase N/A N/A _TEST_KEYSTORE %(homedir)s/.doesnt/matter/keystore_config.ini task_type N/A N/A cls N/A N/A N/A SignApkTask N/A classmethod FakeKeystore N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self build_type debug N/A N/A self keystore_name key_name N/A N/A self keystore_location /path/to/key N/A N/A self keystore_alias key_alias N/A N/A self keystore_password keystore_password N/A N/A self key_password key_password N/A N/A FakeDistribution N/A object N/A binary N/A N/A cls tool N/A N/A N/A N/A N/A path/to/{0} format tool N/A classmethod N/A _get_context N/A N/A self location N/A _TEST_KEYSTORE N/A N/A N/A N/A self set_options keystore_config_location location N/A N/A N/A self context N/A test_sign_apk_smoke N/A N/A self N/A N/A N/A task N/A N/A self create_task N/A N/A self _get_context N/A N/A N/A task execute N/A test_no_location_defined N/A N/A self N/A N/A N/A task N/A N/A self create_task N/A N/A self _get_context location N/A N/A N/A self assertRaises TaskError N/A N/A N/A task config_file N/A test_setting_location N/A N/A self N/A N/A N/A N/A temporary_dir temp N/A N/A task N/A N/A self create_task N/A N/A self _get_context location temp N/A N/A N/A self assertEquals temp N/A task config_file N/A test_package_name N/A N/A self N/A N/A N/A N/A N/A self android_binary android_binary N/A N/A key N/A N/A self FakeKeystore N/A target android_binary N/A N/A N/A self assertEquals N/A N/A SignApkTask signed_package_name target N/A key build_type org.pantsbuild.example.hello.debug.signed.apk N/A test_setup_default_config N/A N/A self N/A N/A N/A N/A temporary_dir temp N/A N/A default_config N/A N/A N/A os path join temp default_config.ini N/A N/A N/A SignApkTask setup_default_config default_config N/A N/A N/A self assertTrue N/A N/A N/A os path isfile default_config N/A test_setup_default_config_no_permission N/A N/A self N/A N/A N/A N/A temporary_file temp N/A N/A N/A N/A os chmod N/A temp name 256 N/A N/A N/A self assertRaises TaskError N/A N/A N/A N/A SignApkTask setup_default_config N/A temp name N/A test_render_args N/A N/A self N/A N/A N/A N/A temporary_dir temp N/A N/A N/A N/A self android_binary android_binary N/A N/A task N/A N/A self create_task N/A N/A self _get_context N/A target android_binary N/A fake_key N/A N/A self FakeKeystore N/A N/A task _dist N/A N/A self FakeDistribution N/A expected_args N/A path/to/jarsigner -sigalg SHA1withRSA -digestalg SHA1 -keystore /path/to/key -storepass keystore_password -keypass key_password -signedjar N/A N/A N/A expected_args extend N/A N/A N/A {0}/{1}.{2}.signed.apk format temp N/A N/A target manifest package_name N/A fake_key build_type N/A N/A N/A expected_args extend N/A unsigned_apk_product key_alias N/A N/A N/A self assertEquals expected_args N/A N/A task _render_args target fake_key unsigned_apk_product temp N/A N/A