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 c945612 commit 28111b2
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 @@ -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 = [
Expand Down

0 comments on commit 28111b2

Please sign in to comment.