Skip to content

Commit

Permalink
assertion fix for rex time expressions test (#17059)
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk authored Dec 3, 2024
1 parent 2908992 commit c402d16
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 c402d16

Please sign in to comment.