Commit graph

28 commits

Author SHA1 Message Date
Tomas Babej
e5870380a4
doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
Thomas Lauf
e451a135e2 Add test for command track with future time
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-08-21 23:04:03 +02:00
Thomas Lauf
7405d2be96 Drop empty intervals during overlap resolution
- Closes #372

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-08-21 18:08:13 +02:00
Thomas Lauf
ad58309159 Update Copyright
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-04-19 12:41:23 +02:00
Shaun Ruffell
85c5655f79 Replace 'ѕ' with 's' in test docstrings
Since the recent switch to python3, I've been noticing that some of the tests
have been aborting with the following error when I use LANG=en_US instead of
LANG=en_US.UTF-8:

UnicodeEncodeError: 'latin-1' codec can't encode character '\u0455' in position 57: ordinal not in range(256)

Arguably, I should run with a unicode locale while running the test, but it
*looks* to me like the original ѕ was not intended.
2020-01-26 22:38:52 +01:00
Thomas Lauf
7fa7ca5f04 Remove vim annotations
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:33 +01:00
Thomas Lauf
f53e1cef6d Switch to python 3
- #259

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-12-11 10:20:32 +01:00
Thomas Lauf
8b5a701eeb Require python2 not python2.7 for tests
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-29 01:31:08 +02:00
Thomas Lauf
712b4b78b2 Revert "Run test with available python"
This reverts commit 6b89e122

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-24 21:10:57 +02:00
Thomas Lauf
6b89e12287 Run test with available python
- do not enforce python 2.7

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-06-22 21:21:11 +02:00
Thomas Lauf
2f7e247859 Add tests for intervals enclosing month borders 2018-09-18 21:06:33 +02:00
Thomas Lauf
7771d94dee Update tests 2018-09-07 10:13:22 +02:00
Thomas Lauf
c483568e50 Improve track.t
- use interval asserts
- use configure_exclusions
2018-08-10 17:08:20 +02:00
Simon Ruderich
2271bd9eea Use https:// link for opensource.org 2018-03-16 23:11:08 +01:00
Thomas Lauf
55508fd201 Reformat files
- Fix indentation
- Fix spacing
2018-03-07 21:23:43 +01:00
Thomas Lauf
dd42f844c6 Python refactoring
- Optimize imports
- Adjust coding style to PEP8
- Remove obsolete comments
2018-03-07 08:09:55 +01:00
Thomas Lauf
311c8c2c83 #111 Make track.t run on any time 2018-03-07 08:09:52 +01:00
Thomas Lauf
7e9fe82fc3 TI-102: Add tests 2018-01-19 16:25:22 +01:00
Paul Beckingham
88d644d193 Copyright 2018 2017-12-31 19:37:13 -05:00
Paul Beckingham
6b39089ea8 Tests: Try adding time-only interval that should be recorded 2017-05-21 11:10:28 -04:00
Paul Beckingham
1091cc2085 Copyright update 2017-01-01 12:45:32 -05:00
Paul Beckingham
36455b5115 validate: Restructured autoAdjust code
- First approach indicates there is no general case. Instead identifiable and
  correctable use cases will be gathered. No solution yet.
2016-07-16 11:17:14 -04:00
Paul Beckingham
138245f010 Tests: test for overlapping interval prevention 2016-07-09 15:30:19 -04:00
Paul Beckingham
fb89cda958 Tests: Improved track tests 2016-05-28 13:26:32 -04:00
Paul Beckingham
46bcbe575b Tests: Added interval test that extends into exclusions but does not enclose 2016-05-13 17:28:55 -04:00
Paul Beckingham
153377964d Tests: made interval dates more specific 2016-05-13 17:26:55 -04:00
Paul Beckingham
b626f0bec4 Tests: Added track of an interval that encloses an exclusion 2016-05-11 08:33:05 -04:00
Paul Beckingham
d73527e4f0 Tests: Added 'track' command tests 2016-05-05 08:21:08 -04:00