#NEWLINE# @ pytest . fixture ( params = [ None , BaseStyle ( None ) , 'Style Name' ] ) #NEWLINE# def get_style_id_fixture( self , request , _get_style_id_from_style_ , _get_style_id_from_name_ ) : #NEWLINE# #INDENT# ( style_or_name , style_type ) = ( request . param , 1 ) #NEWLINE# styles = Styles ( None ) #NEWLINE# style_calls = ( [ call ( style_or_name , style_type ) ] if isinstance ( request , BaseStyle ) else [ ] ) #NEWLINE# name_calls = ( [ call ( style_or_name , style_type ) ] if ( style_or_name == 'Style Name' ) else [ ] ) #NEWLINE# style_id_ = ( None if ( style_or_name is None ) else 'StyleName' ) #NEWLINE# _get_style_id_from_style_ . return_value = style_id_ #NEWLINE# _get_style_id_from_name_ . return_value = style_id_ #NEWLINE# return ( styles , style_or_name , style_type , style_calls , name_calls , style_id_ )