SeldomQA / seldom

Seldom automation testing framework based on unittest

Home Page:https://seldomqa.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[问题] 获取当前时间不一致的问题

defnngj opened this issue · comments

有时需要获取当前时间,进行计算。在本地运行没问题。放到服务器上因为服务器用的 世界时。所有,时间错误,导致用例失败。

可以采用在线获取时间:

https://f.m.suning.com/api/ct.do

seldom 3.3.0 增加获取在线时间的方法 。