Commit graph

44 commits

Author SHA1 Message Date
Dustin J. Mitchell
5bb9857984 Use Taskchampion to store Taskwarrior data
This replaces the TF2 task files with a TaskChampion replica.
2023-06-11 17:37:03 -04:00
Tomas Babej
3289f93073 tests: Adjust comment
The recurrence period is 1m=P30D.
2022-12-18 15:23:55 -05:00
Dustin J. Mitchell
6e5d8b1dde fix recurrence test to avoid wasting a lot of time 2022-12-18 14:21:10 -05:00
Dustin J. Mitchell
c564bbc0b7 fix test to pass at the end of the year 2021-12-30 15:03:37 -05:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers 2021-09-05 12:02:07 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021 2021-01-02 02:48:22 -05:00
Max Rossmannek
f35989be0e Enforce Python 3 for unittests
This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]

For reference:
s;/usr/bin/env python;/usr/bin/env python3;g

[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
2020-11-30 00:51:54 -05:00
Tomas Babej
a09f9d48ab Update copyright to 2020 2020-11-21 12:27:05 -05:00
Tomas Babej
02db131fa1 tests: Use updated unittest method 2020-11-21 12:27:05 -05:00
Tomas Babej
675b8e2798 tests: Do not explicitly require Python 2.7 2019-01-01 14:53:44 -05:00
Tomas Babej
8066e4e6e2 meta: Update copyright year 2019-01-01 08:46:21 -05:00
Simon Ruderich
e817dfc800 Always use https:// link for opensource.org
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Paul Beckingham
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Paul Beckingham
d8bf209f29 Tests: Updated to non-deprecated Boolean values 2016-09-04 16:13:23 -04:00
Paul Beckingham
7f3db8f201 TW-1714: Starting recurring task starts all recurrences
- Thanks to Robin Green.
2016-01-11 23:20:33 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
e3727c0101 Test: Merged bug.annual.t into recurrence.t 2015-10-23 09:10:56 -04:00
Paul Beckingham
2b55572d06 Test: Merged bug.period.t into recurrence.t 2015-10-23 09:05:35 -04:00
Paul Beckingham
2c4a084cb0 Test: Merged bug.839.t into recurrence.t 2015-10-23 08:28:11 -04:00
Paul Beckingham
d9cf8b4f36 Test: Merged bug.c001.t into recurrence.t 2015-10-23 07:17:03 -04:00
Paul Beckingham
33cf2735cf Test: Merged bug.649.t into recurrence.t 2015-10-23 07:14:43 -04:00
Paul Beckingham
9a4a2b507c Test: Removed daylight saving sensitivity 2015-10-23 07:00:21 -04:00
Paul Beckingham
c2c6b051ff Test: Merged bug.360.t into recurrence.t 2015-10-23 06:54:03 -04:00
Tomas Babej
f5b9370623 tests: State explicit filetype for .t python files 2015-09-05 14:22:52 -04:00
Paul Beckingham
c61f7e6b8f Footnote: New 'recur' verbosity token 2015-08-23 20:36:06 -04:00
Paul Beckingham
6724dd3766 Test: Reworked test to avoid faketime and self.t.runError 2015-08-14 09:13:10 -04:00
Paul Beckingham
f4bc3442a6 Test: Added note about faketime bug
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750721
2015-08-14 08:50:02 -04:00
Paul Beckingham
5f2fc6c5b6 Test: Corrected recurrence testing for confirmation 2015-08-14 07:36:34 -04:00
Paul Beckingham
8b68f7317c Test: Added recurrence upgrade tests 2015-08-14 07:16:25 -04:00
Paul Beckingham
1b764e1641 Test: Reverted change, because deletion propagates, and that's okay 2015-07-28 16:54:10 -04:00
Renato Alves
2f15bb8fa5 Test: Revert recurrence.t test as per comment
The comment mentions one behaviour but the test was performing another.
It was also failing for a different reason, which is filters with no
matches always exit with non-zero. If the correct behaviour is indeed
expiring all recurring tasks, the test must use runError instead.

Also added a TODO for easier finding.
2015-07-28 20:01:39 +01:00
Renato Alves
3908c29a21 Test: Add confirmation test on recurrence.t
I'm a little unsure about the correct behaviour here.
I would expect both features to depend on rc.recurrence.confirmation and
not rc.confirmation. Yet when rc.confirmation=on no prompt is shown
about recurring parents.
2015-07-28 19:59:19 +01:00
Renato Alves
fe23510c51 Test: Drop default confirmation:off and correct tests accordingly 2015-07-28 19:57:18 +01:00
Paul Beckingham
804c3526ba Test: Accepted the de facto behavior is better than the intended behavior
- Adding an 'until' date to a recurring task is propagated to the task instances
  and they expire at the same time. It was assumed otherwise, but the working
  behavior is better.
2015-07-25 14:00:27 -04:00
Renato Alves
68debe2561 Test: Mark known failure as expectedFailure and add note 2015-07-24 17:24:06 +01:00
Renato Alves
846e09cfc3 Test: Convert bug.955.t and merge with recurrence.t 2015-07-24 16:09:42 +01:00
Renato Alves
92b71a76fc Test: Fix flapping test
Every now and then "Age" would show up breaking the column matching
2015-07-24 15:51:47 +01:00
Paul Beckingham
e0275d404f Test: Merged bug.932.t into recurrence.t 2015-07-23 17:20:00 -04:00
Paul Beckingham
13ce276b8c Test: Merged bug.recur.t into recurrence.t 2015-07-23 07:51:41 -04:00
Renato Alves
7ab4142c07 Test: Minor style change 2015-07-19 00:18:04 +01:00
Paul Beckingham
079a2dd56d Test: Added append and prepend with propagation 2015-07-18 18:55:17 -04:00
Paul Beckingham
30f4222b9e Test: Added tests for deleting recurring tasks 2015-07-18 16:19:26 -04:00
Paul Beckingham
a37b5d6213 Test: merged all recurrence scripts into one
- The new recurrence.t includes all previous tests.
- A list of TODO items at the bottom indicates further needs.
2015-07-18 11:25:47 -04:00