#NEWLINE# def test_raw_mode( icmp_packet ) : #NEWLINE# #INDENT# original = icmp_packet . ip . src #NEWLINE# raw = icmp_packet . ip . src . raw_value #NEWLINE# icmp_packet . ip . raw_mode = True #NEWLINE# assert ( icmp_packet . ip . src != original ) #NEWLINE# assert ( icmp_packet . ip . src == raw )