#NEWLINE# def test_set_replicas( self ) : #NEWLINE# #INDENT# self . create_sample_ring ( ) #NEWLINE# argv = [ '' , self . tmpfile , 'set_replicas' , '3.14159265359' ] #NEWLINE# self . assertSystemExit ( EXIT_SUCCESS , ringbuilder . main , argv ) #NEWLINE# ring = RingBuilder . load ( self . tmpfile ) #NEWLINE# self . assertEqual ( ring . replicas , 3.14159265359 )