#NEWLINE# def test_rportValue( self ) : #NEWLINE# #INDENT# '\n        An rport numeric setting should insert the parameter with the number\n        value given.\n        ' #NEWLINE# v = sip . Via ( 'foo.bar' , rport = 1 ) #NEWLINE# self . assertEqual ( v . toString ( ) , 'SIP/2.0/UDP foo.bar:5060;rport=1' ) #NEWLINE# self . assertEqual ( v . rportRequested , False ) #NEWLINE# self . assertEqual ( v . rportValue , 1 ) #NEWLINE# self . assertEqual ( v . rport , 1 )