45 def check_strftimes_format(t):
47 if m
and len(m.groups()):
48 sec, time_str = int(m.groups()[0]), m.groups()[1]
49 correct_time_str = strftime(
"%Y-%m-%d %H:%M:%S", gmtime(float(sec)))
50 return time_str == correct_time_str
54 self.
__result = all(filter(check_strftimes_format, ts))