[Fuego] [PATCH 2/3] ftc: gen-report: Make format for name of test report file

Hoang Van Tuyen tuyen.hoangvan at toshiba-tsdv.com
Mon Mar 19 01:21:42 UTC 2018


On 3/13/2018 5:16 PM, Hoang Van Tuyen wrote:
> +    # always include "/" to make sure the test_file_name into report_dir
> +    if fmt == "excel":
> +        report_file = report_dir + "/" + test_file_name + "." + "xlsx"
> +    else:
> +        report_file = report_dir + "/" + test_file_name + "." + fmt
Should use os.sep instead of "/" because on Windows OS, os.sep is "\"


-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com



More information about the Fuego mailing list