#NEWLINE# def test_resubmit( self ) : #NEWLINE# #INDENT# def f( ) : #NEWLINE# #INDENT# import random #NEWLINE# return random . random ( ) #NEWLINE# #UNINDENT# v = self . client . load_balanced_view ( ) #NEWLINE# ar = v . apply_async ( f ) #NEWLINE# r1 = ar . get ( 1 ) #NEWLINE# ahr = self . client . resubmit ( ar . msg_ids ) #NEWLINE# r2 = ahr . get ( 1 ) #NEWLINE# self . assertFalse ( ( r1 == r2 ) )