diff --git a/ipatests/test_integration/test_commands.py b/ipatests/test_integration/test_commands.py index df3f862b5..13466381e 100644 --- a/ipatests/test_integration/test_commands.py +++ b/ipatests/test_integration/test_commands.py @@ -642,7 +642,8 @@ class TestIPACommand(IntegrationTest): # start to look at logs a bit before "now" # https://pagure.io/freeipa/issue/8432 since = time.strftime( - '%H:%M:%S', (datetime.now() - timedelta(seconds=10)).timetuple() + '%Y-%m-%d %H:%M:%S', + (datetime.now() - timedelta(seconds=10)).timetuple() ) tasks.run_ssh_cmd(