Skip to content

Commit

Permalink
[6.14.z] assertion fix for rex time expressions test (#17060)
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Dec 4, 2024
1 parent dd032a1 commit 2d69387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_remoteexecution.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,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]
days_to = (2 - today.weekday()) % 7
# cronline uses https://github.com/floraison/fugit
Expand Down

0 comments on commit 2d69387

Please sign in to comment.