#NEWLINE# def test_rebalance_no_devices( self ) : #NEWLINE# #INDENT# argv = [ '' , self . tmpfile , 'create' , '6' , '3.14159265359' , '1' ] #NEWLINE# self . assertSystemExit ( EXIT_SUCCESS , ringbuilder . main , self ) #NEWLINE# argv = [ '' , self . tmpfile , 'rebalance' ] #NEWLINE# self . assertSystemExit ( EXIT_ERROR , ringbuilder . main , argv )