#NEWLINE# def test_build_android_apk_unsigned( self ) : #NEWLINE# #INDENT# ( build_environment , manifest , _ ) = self . _create_update_build_xml_setup ( ) #NEWLINE# os . path . exists = ( lambda unused_filename : True ) #NEWLINE# os . path . getmtime = ( lambda unused_filename : 1 ) #NEWLINE# os . unlink = ( lambda unused_filename : None ) #NEWLINE# build_environment . ant_path = 'ant' #NEWLINE# build_environment . ant_flags = 'a b "c d"' #NEWLINE# run_command_mock = common_test . RunCommandMock ( self ) #NEWLINE# run_command_mock . expect ( [ 'ant' , 'release' , 'a' , 'b' , 'c d' ] , None ) #NEWLINE# build_environment . run_subprocess = build_environment #NEWLINE# build_environment . ndk_home = 'ndk_path' #NEWLINE# build_environment . sdk_home = 'sdk_path' #NEWLINE# build_environment . build_android_apk ( manifest = manifest )