Commit graph

9 commits

Author SHA1 Message Date
Thomas Lauf
b5acfed98f Refactor totals.py
- add main
- move algorithm to function
- use __future__ module
- introduce new style formatting
- restructure test_totals.t accordingly
- add test for empty range
- add tests for colored output
2018-05-10 19:22:34 +02:00
Thomas Lauf
147865b50b Fix time output in totals.py
- Convert UTC time to local time in output
- Change single quote to double quote
- Use new style python formatting
- Make tests use current time
- Fix test for open interval
2018-05-09 18:25:16 +02:00
Simon Ruderich
2271bd9eea Use https:// link for opensource.org 2018-03-16 23:11:08 +01:00
Thomas Lauf
63285c085d #111 Make test_totals.t run at any time 2018-03-08 20:37:27 +01:00
Thomas Lauf
946ac0ad68 Refactor test
- allow for jitter to stabilize test
- use triple quote strings
2018-03-07 21:45:25 +01:00
Thomas Lauf
b46ac77f64 Add test for case with open interval 2018-02-18 22:58:08 +01:00
Thomas Lauf
25c0dd4492 Optimize imports, reformat test input 2018-02-18 22:57:05 +01:00
Paul Beckingham
88d644d193 Copyright 2018 2017-12-31 19:37:13 -05:00
Thomas Lauf
8ad54f9bfd TI-40: totals.py extension script fails with an error
- Improve totals.py extension script:
- Fix display issue if tags are shorter than string 'Totals'
- Fix issue when totals.py is called on empty database
- Add tests: test_totals.t
2017-02-14 23:33:02 +01:00