#NEWLINE# @ pytest . mark . parametrize ( 'value, expected' , [ ( PlainEndpoint , 'PlainEndpoint' ) , ( ( PlainEndpoint , ) , 'PlainEndpoint' ) , ( ( PlainEndpoint , DynamicEndpoint ) , 'PlainEndpoint/DynamicEndpoint' ) ] ) #NEWLINE# def test_to_str( value , expected ) : #NEWLINE# #INDENT# assert ( to_str ( value ) == expected )