Searched refs:time_format (Results 1 - 9 of 9) sorted by relevance
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | time_util.py | 119 def get_now_datetime(cls, time_format="%Y%m%d%H%M%S%f"): 122 time_format: Obtain the time format, for example, 127 return get_cst_time().strftime(time_format) 140 def get_formated_time(cls, time_format='%Y-%m-%d %H:%M:%S'): 143 :param time_format: time format 146 return get_cst_time().strftime(time_format) 150 time_format='%Y-%m-%d %H:%M:%S'): 153 start_format_time, time_format).timestamp() 155 end_format_time, time_format).timestamp()
|
/test/testfwk/xdevice/plugins/devicetest/core/ |
H A D | report.py | 32 time_format = "%Y-%m-%d %H:%M:%S" variable in ReportConstants 91 return stamp_time.strftime(ReportConstants.time_format) 94 return get_cst_time().strftime(ReportConstants.time_format)
|
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | upload.py | 166 start_time, ReportConstant.time_format)) * 1000) 168 end_time, ReportConstant.time_format)) * 1000) 176 timestamp, ReportConstant.time_format)) * 1000) 183 timestamp.split(".")[0], ReportConstant.time_format)) * 1000)
|
H A D | handler.py | 97 ReportConstant.start_time: time.strftime(ReportConstant.time_format, time.localtime()), 98 ReportConstant.end_time: time.strftime(ReportConstant.time_format, time.localtime()),
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | result_reporter.py | 223 end_time = time.strftime(ReportConstant.time_format, time.localtime()) 226 time.mktime(time.strptime(start_time, ReportConstant.time_format)), 227 time.mktime(time.strptime(end_time, ReportConstant.time_format))) 310 time.mktime(time.strptime(test_start, ReportConstant.time_format)), 311 time.mktime(time.strptime(test_end, ReportConstant.time_format))) 543 ReportConstant.end_time: time.strftime(ReportConstant.time_format,
|
H A D | __main__.py | 60 task_info.test_time = time.strftime(ReportConstant.time_format, time.localtime())
|
H A D | suite_reporter.py | 162 ReportConstant.time_stamp: time.strftime(ReportConstant.time_format, time.localtime()),
|
H A D | reporter_helper.py | 112 time_format = "%Y-%m-%d %H:%M:%S" variable in ReportConstant 515 start_time, ReportConstant.time_format)) 517 end_time, ReportConstant.time_format))
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | concurrent.py | 183 ReportConstant.time_format, time.localtime(int(self.start_time))), 185 ReportConstant.time_format, time.localtime(int(end_time))),
|
Completed in 12 milliseconds