#NEWLINE# def test_authors( self ) : #NEWLINE# #INDENT# addon = self . new_file ( ) [ 'addon' ] #NEWLINE# bert = user_factory ( username = 'bert' ) #NEWLINE# ernie = user_factory ( username = 'ernie' ) #NEWLINE# AddonUser . objects . create ( addon = addon , user = bert ) #NEWLINE# AddonUser . objects . create ( addon = addon , user = ernie ) #NEWLINE# row = self . Queue . objects . all ( ) [ 0 ] #NEWLINE# self . assertSetEqual ( row . authors , [ ( ernie . id , 'ernie' ) , ( bert . id , 'bert' ) ] )