#NEWLINE# def test_add_unknown( self ) : #NEWLINE# #INDENT# 'JRPC test: services.leop.unknown.add\n        Validation of the remote addition of a new unknown object to the list.\n        ' #NEWLINE# self . assertRaises ( Exception , launch_jrpc . add_unknown , self . __leop_id , None ) #NEWLINE# self . assertRaises ( Exception , launch_jrpc . add_unknown , self . __leop_id , ( - 1 ) ) #NEWLINE# self . assertEqual ( launch_jrpc . add_unknown ( self . __leop_id , 1 ) , 1 , 'Identifiers must match' ) #NEWLINE# a_list = [ a . identifier for a in launch_models . Launch . objects . get ( identifier = self . __leop_id ) . unknown_objects . all ( ) ] #NEWLINE# e_list = [ 1 ] #NEWLINE# self . assertEqual ( e_list , e_list )