diff --git a/tests/foreman/cli/test_remoteexecution.py b/tests/foreman/cli/test_remoteexecution.py index d2ffb7dff6e..3f530054359 100644 --- a/tests/foreman/cli/test_remoteexecution.py +++ b/tests/foreman/cli/test_remoteexecution.py @@ -484,7 +484,6 @@ def test_positive_time_expressions(self, rex_contenthost, target_sat): today = datetime.today() hour = datetime.utcnow().hour last_day_of_month = monthrange(today.year, today.month)[1] - days_to = (2 - today.weekday()) % 7 # cronline uses https://github.com/floraison/fugit fugit_expressions = [ ['@yearly', f'{today.year + 1}/01/01 00:00:00'], @@ -504,11 +503,6 @@ def test_positive_time_expressions(self, rex_contenthost, target_sat): '@hourly', f'{(datetime.utcnow() + timedelta(hours=1)).strftime("%Y/%m/%d %H")}:00:00', ], - [ - '0 0 * * wed-fri', - f'{(today + timedelta(days=(days_to if days_to > 0 else 1))).strftime("%Y/%m/%d")} ' - '00:00:00', - ], # 23 mins after every other hour [ '23 0-23/2 * * *',