#NEWLINE# def test_remove_permission( self ) : #NEWLINE# #INDENT# queue = Mock ( name = 'queue' ) #NEWLINE# self . x . remove_permission ( queue , 'label' , callback = self . callback ) #NEWLINE# self . x . get_status . assert_called_with ( 'RemovePermission' , { #NEWLINE# #INDENT# 'Label' : 'label' , #NEWLINE# #UNINDENT# } , queue . id , callback = self . callback )