#NEWLINE# def test_get_conf_file_name( self ) : #NEWLINE# #INDENT# server = manager . Server ( 'proxy' ) #NEWLINE# conf_file = self . join_swift_dir ( 'proxy-server.conf' ) #NEWLINE# pid_file = self . join_run_dir ( 'proxy-server.pid' ) #NEWLINE# self . assertEqual ( self , server . get_conf_file_name ( pid_file ) ) #NEWLINE# server = manager . Server ( 'object-replicator' ) #NEWLINE# conf_file = self . join_swift_dir ( 'object-server/1.conf' ) #NEWLINE# pid_file = self . join_run_dir ( 'object-replicator/1.pid' ) #NEWLINE# self . assertEqual ( conf_file , server . get_conf_file_name ( pid_file ) ) #NEWLINE# server = manager . Server ( 'container-auditor' ) #NEWLINE# conf_file = self . join_swift_dir ( 'container-server/1/container-auditor.conf' ) #NEWLINE# pid_file = self . join_run_dir ( 'container-auditor/1/container-auditor.pid' ) #NEWLINE# self . assertEqual ( conf_file , server . get_conf_file_name ( pid_file ) ) #NEWLINE# server_name = manager . STANDALONE_SERVERS [ 0 ] #NEWLINE# server = manager . Server ( server_name ) #NEWLINE# conf_file = self . join_swift_dir ( ( server_name + '.conf' ) ) #NEWLINE# pid_file = self . join_run_dir ( ( server_name + '.pid' ) ) #NEWLINE# self . assertEqual ( conf_file , server . get_conf_file_name ( pid_file ) )