Executed once before any test in the class
(cls)
| 40 | class TestRecurrenceSorting(TestCase): |
| 41 | @classmethod |
| 42 | def setUpClass(cls): |
| 43 | """Executed once before any test in the class""" |
| 44 | cls.t = Task() |
| 45 | cls.t.config("report.asc.columns", "id,recur,description") |
| 46 | cls.t.config("report.asc.sort", "recur+") |
| 47 | cls.t.config("report.asc.filter", "status:pending") |
| 48 | cls.t.config("report.desc.columns", "id,recur,description") |
| 49 | cls.t.config("report.desc.sort", "recur-") |
| 50 | cls.t.config("report.desc.filter", "status:pending") |
| 51 | |
| 52 | cls.t("add one due:tomorrow recur:daily") |
| 53 | cls.t("add two due:tomorrow recur:weekly") |
| 54 | cls.t("add three due:tomorrow recur:3d") |
| 55 | |
| 56 | def setUp(self): |
| 57 | """Executed before each test in the class""" |