#NEWLINE# def test_eq( self ) : #NEWLINE# #INDENT# lease_a = Lease ( '192.168.0.1' , self . lease_data ) #NEWLINE# lease_b = Lease ( '192.168.0.1' , lease_a . lease_data ) #NEWLINE# self . assertEqual ( lease_a , lease_b ) #NEWLINE# lease_b . ip = '172.16.42.1' #NEWLINE# self . assertNotEqual ( lease_a , lease_b ) #NEWLINE# lease_b . ip = '192.168.0.1' #NEWLINE# lease_b . ethernet = '60:a4:4c:b5:6a:de' #NEWLINE# self . assertNotEqual ( lease_a , lease_b )