Commit graph

27 commits

Author SHA1 Message Date
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
57f9982fd1 Throw error message if start date is earlier than open interval
Closes #240

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-08-02 17:54:08 +02: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
b5dc745969 Add missing 'Z' to datetime string when using UTC
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 16:44:52 +02:00
Thomas Lauf
69de6b4412 Replace fixed time with relative time when testing timew start <datetime>
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-09 16:23:37 +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
0d1ec8e06a Improve stop.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
89d59e3363 Fix time values in tests 2018-03-05 06:47:39 +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
5167a05d77 Tests: Added future tracking negative test 2017-05-28 09:48:24 -04:00
Paul Beckingham
c283c9d2c4 TI-70: Timew starts a new interval even if a current interval contains the same set of tags
- Thanks to Thomas Babej.
2017-04-04 18:43:33 -04:00
Thomas Lauf
aad36da44f TI-70: Add tests
- 'start' with more tags than current tracking should start new tracking
- 'start' with less tags than current tracking should start new tracking
- 'start' with same tags as current tracking should not start new tracking
2017-04-04 08:38:23 +02:00
Thomas Lauf
7bf4b18517 Tests: Fix pydoc and coding style 2017-04-04 08:36:51 +02:00
Paul Beckingham
1091cc2085 Copyright update 2017-01-01 12:45:32 -05:00
Paul Beckingham
b047800a30 Cleanup: Added Michael to AUTHORS, ChangeLog, removed WS at EOL 2016-07-03 08:36:28 -04:00
Michael Meier
07e777b62c CmdStart: Stop previous interval at given start time
- End time of previous open interval now set to start time given on
  cmd line in CmdStart.
2016-07-03 08:32:09 -04:00
Paul Beckingham
e0964e9b50 Tests: Added start wiht open interval test 2016-06-06 20:23:09 -04:00
Paul Beckingham
a24be8c4cc Tests: Added start tests 2016-05-10 20:05:03 -04:00
Paul Beckingham
bf45ea6ed3 Tests: Added start tests 2016-05-10 20:04:47 -04:00