From 49798ee3017126a19d9eb32a7cb79c5afcf9d60e Mon Sep 17 00:00:00 2001 From: rallytime Date: Mon, 22 Aug 2016 16:07:36 -0600 Subject: [PATCH] Remove every.weeks reference: not available in relativedelta --- tests/unit/states/file_test.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/unit/states/file_test.py b/tests/unit/states/file_test.py index f9565840b3..50615eb59c 100644 --- a/tests/unit/states/file_test.py +++ b/tests/unit/states/file_test.py @@ -1677,9 +1677,6 @@ class FileTestCase(TestCase): ts = datetime(starting.year, 1, 1) elif every.months: ts = datetime(starting.year, starting.month, 1) - elif every.weeks: - # This breaks if the start of the week is in a previous month. - ts = datetime(starting.year, starting.month, starting.day - starting.weekday()) elif every.days: ts = datetime(starting.year, starting.month, starting.day) elif every.hours: