From c402d164b4433fe9af29b73dcaf468fc57e1c37f Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Tue, 3 Dec 2024 16:36:15 +0100 Subject: [PATCH] assertion fix for rex time expressions test (#17059) --- tests/foreman/cli/test_remoteexecution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/cli/test_remoteexecution.py b/tests/foreman/cli/test_remoteexecution.py index b0b6bef7aa7..43b27d04c05 100644 --- a/tests/foreman/cli/test_remoteexecution.py +++ b/tests/foreman/cli/test_remoteexecution.py @@ -595,7 +595,7 @@ def test_positive_time_expressions(self, rex_contenthost, target_sat): """ client = rex_contenthost today = datetime.today() - hour = datetime.utcnow().hour + hour = datetime.now().hour last_day_of_month = monthrange(today.year, today.month)[1] # cronline uses https://github.com/floraison/fugit fugit_expressions = [