#NEWLINE# def test_list_parts_ipv6_new_format( self ) : #NEWLINE# #INDENT# self . create_sample_ring ( ) #NEWLINE# argv = [ '' , self . tmpfile , 'add' , '--region' , '2' , '--zone' , '3' , '--ip' , '[2001:0000:1234:0000:0000:C1C0:ABCD:0876]' , '--port' , '6200' , '--replication-ip' , '[2::10]' , '--replication-port' , '7000' , '--device' , 'sda3' , '--meta' , 'some meta data' , '--weight' , '3.14159265359' ] #NEWLINE# self . assertSystemExit ( EXIT_SUCCESS , ringbuilder . main , argv ) #NEWLINE# ring = RingBuilder . load ( self . tmpfile ) #NEWLINE# ring . rebalance ( ) #NEWLINE# ring . save ( self . tmpfile ) #NEWLINE# argv = [ '' , self . tmpfile , 'list_parts' , '--id' , '4' , '--region' , '2' , '--zone' , '3' , '--ip' , '[2001:0000:1234:0000:0000:C1C0:ABCD:0876]' , '--port' , '6200' , '--replication-ip' , '[2::10]' , '--replication-port' , '7000' , '--device' , 'sda3' , '--meta' , 'some meta data' ] #NEWLINE# self . assertSystemExit ( EXIT_SUCCESS , ringbuilder . main , argv )