Commit graph

26 commits

Author SHA1 Message Date
Shaun Ruffell
3ea086dcff Allow getTracked to match intervals that intersect with filter
It is not sufficient to stop looking for matching intervals if the
interval start time is before the filter. We really want to make sure
that we pick up any intervals that intersect with the filter.

Fixes bug introduced in (a98bd14 "Simplify getIntervalsById and
getTracked") as part of #423.

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
2021-05-19 12:22:22 +02:00
Tomas Babej
e5870380a4
doc: Update copyright to 2021 2021-01-02 02:52:39 -05:00
Thomas Lauf
ad58309159 Update Copyright
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-04-19 12:41:23 +02:00
Thomas Lauf
41c50e009c Add test for export with tag filter
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-03-06 16:13:00 +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
5c6bd53e02 Fix file mode 2019-02-27 22:08:29 +01:00
Thomas Lauf
42acf839d9 Add descriptions to interval assertions 2019-01-19 10:32:00 +01:00
Thomas Lauf
6958c3a7f8 Create test data depending on the point in time the test runs 2019-01-19 10:32:00 +01:00
Thomas Lauf
15bb111171 Refactor configure_exclusions 2018-08-10 17:08:20 +02:00
Thomas Lauf
14b655c6e8 Improve export.t
- Use interval asserts
- Use UTC time
- Extract configure_exclusions method
2018-08-10 17:08:20 +02:00
Thomas Lauf
420bddb095 #138 Added tests 2018-05-11 18:47:03 +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
9d51a8e993 #111 Make export.t run on any time 2018-03-05 19:04:38 +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
1091cc2085 Copyright update 2017-01-01 12:45:32 -05:00
Paul Beckingham
02f73afcde Tests: changed to no-relative times for tests 2016-06-01 07:02:25 -04:00
Paul Beckingham
288acd4413 Tests: Fixed test description 2016-05-13 17:26:16 -04:00
Paul Beckingham
e1e63188bc Tests: Added single interval export test 2016-05-02 17:14:47 -04:00
Paul Beckingham
1006617d26 Tests: Added trivial export test 2016-05-02 17:14:30 -04:00