web-automation-demo/Library/Report.py

7 lines
185 B
Python
Raw Permalink Normal View History

2023-03-13 18:49:49 +08:00
from Library.LoadConfig import TestingConfig
from Library.Time import *
def generate_report_name():
return fmt_time(TestingConfig('default').report_format or '%Y-%m-%d-%H-%M-%S')