#NEWLINE# def copy_test_results( run_number ) : #NEWLINE# #INDENT# 'Copy test result from separate run to new directory.\n\n    :parameter run_number: run number, used in creating new directory\n    ' #NEWLINE# path_to_write = os . path . join ( settings . LOAD_TESTS_PATHS [ 'last_performance_test' ] , 'run{0}' . format ( run_number ) ) #NEWLINE# shutil . copytree ( settings . LOAD_TESTS_PATHS [ 'last_performance_test_run' ] , path_to_write ) #NEWLINE# shutil . rmtree ( settings . LOAD_TESTS_PATHS [ 'last_performance_test_run' ] )