#NEWLINE# def test_l3_init_with_duplicated_ipv6_uncompact( self ) : #NEWLINE# #INDENT# addresses = [ dict ( scope = 'global' , dynamic = False , cidr = '2001:db8:a::123/64' ) ] #NEWLINE# self . ip_dev ( ) . addr . list = mock . Mock ( return_value = addresses ) #NEWLINE# bc = BaseChild ( self . conf ) #NEWLINE# ns = '12345678-1234-5678-90ab-ba0987654321' #NEWLINE# bc . init_l3 ( 'tap0' , [ '2001:db8:a:0000:0000:0000:0000:0123/64' ] , namespace = ns ) #NEWLINE# self . assertFalse ( self . ip_dev ( ) . addr . add . called )