diff --git a/tests/foreman/cli/test_remoteexecution.py b/tests/foreman/cli/test_remoteexecution.py index 149d43b1cc..c6ca063919 100644 --- a/tests/foreman/cli/test_remoteexecution.py +++ b/tests/foreman/cli/test_remoteexecution.py @@ -463,7 +463,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 = [