#NEWLINE# def test_get_many_objects( self ) : #NEWLINE# #INDENT# ct_ct = ContentType . objects . get_for_model ( ContentType ) #NEWLINE# site_ct = ContentType . objects . get_for_model ( Site ) #NEWLINE# objs = utils . get_cached_objects ( [ ( ct_ct . id , ct_ct . id ) , ( ct_ct . id , site_ct . id ) , ( self . id , 1 ) ] ) #NEWLINE# tools . assert_equals ( [ ct_ct , site_ct , Site . objects . get ( pk = 1 ) ] , objs )