Commit e0244838 authored by Rafael Monnerat's avatar Rafael Monnerat

test: Use localtime instead gmtime for tests.

parent 1654ba90
......@@ -36,7 +36,7 @@ from slapos.test.promise import data
class TestCheckErrorOnApacheLog(unittest.TestCase):
def get_time(self, sec):
return time.strftime("%a %b %d %H:%M:%S %Y", time.gmtime(time.time()-sec))
return time.strftime("%a %b %d %H:%M:%S %Y", time.localtime(time.time()-sec))
def _update_logs(self):
log_file_list = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment