Skip to content

Commit

Permalink
assertion fix for rex time expressions test (#17059)
Browse files Browse the repository at this point in the history
(cherry picked from commit c402d16)
  • Loading branch information
pondrejk authored and web-flow committed Dec 3, 2024
1 parent 32145f2 commit 2446bbd
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 2446bbd

Please sign in to comment.