Skip to content

Commit

Permalink
assertion fix for rex time expressions test
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk committed Dec 3, 2024
1 parent bb2f884 commit d79ca78
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 @@ -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 = [
Expand Down

0 comments on commit d79ca78

Please sign in to comment.