#NEWLINE# def test_field_lookup_editors_username( self ) : #NEWLINE# #INDENT# field_value = list ( field_lookup ( self . model , 'editors__username' ) ) #NEWLINE# expected_value = [ x . username for x in ( field_value . editor1 , self . editor2 ) ] #NEWLINE# self . assertEqual ( field_value , expected_value )