Commit graph

26 commits

Author SHA1 Message Date
Tomas Babej
a5d5a025b7 tests: Make sure test accessing header output have correct verbosity tokens
This change was needed because the information about the default command
is no longer part of the default output.
2021-09-16 07:15:54 -04: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
Tomas Babej
7dfff13b06
tests: Allow match for 8 bit color code in color.rules.t
The test proper coloring for overdue task from an hour ago fails,
even though the task is properly colored. This is because the blue color
gets upgraded to blue color in 256-color scheme, and hence is
represented with 38;5;4m instead of 34m.

Support both representations of the blue color in the given test.
2020-12-14 23:13:44 -05:00
Tomas Babej
83a55ccfe5
tests: Add test for coloring an overdue task from earlier today 2020-12-14 22:35:34 -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
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
0ec2fb03c2 Tests: Fixed broken color merge tests 2018-01-24 21:53:26 -05:00
Paul Beckingham
f7d47b8ee6 Tests: Fixed brokend color.footnote test 2018-01-24 21:51:48 -05: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
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
433d3dedca Test: Corrected system name for FreeBSD 2015-09-07 12:09:41 -04:00
Paul Beckingham
10944a23e1 Test: Added combination of skipIf and expectedFail 2015-09-07 12:04:14 -04:00
Paul Beckingham
557a8d357c Test: Marked color merge tests as expected failures
- This is a bug in Color.cpp, not in the color.rules.t script, and the symptoms
  of this bug are 256-color usage when 16-colors are expected. The Color::blend
  method auto-upgradeѕ from 16 to 256, and may be the culprit. This bug is not
  important enough to fix now.
2015-09-07 11:05:00 -04:00
Paul Beckingham
499b2256fc Test: Fixed test to contain expected colors
- Problem was that Linux has been upgrading 16-color output, and the test was
  based on observed output, which looks correct, but actually isn't.
  We may end up marking these tests as expeected to fail, because they are not
  important.
2015-09-06 12:31:50 -04:00
Tomas Babej
f5b9370623 tests: State explicit filetype for .t python files 2015-09-05 14:22:52 -04:00
Tomas Babej
184d736763 tests: Add tests for rule.color.merge 2015-09-03 18:14:09 -04:00
Paul Beckingham
b841d0c403 Test: Simplified test calls 2015-07-11 10:52:45 -04:00
Renato Alves
2962c0d99a Tests: Remove unnecessary imports and simplify template.t 2015-06-06 02:52:33 +01:00
Paul Beckingham
e8654c49b5 Tests: Modified tests to accomodate new 'prioirity' color rules 2015-04-05 14:05:29 -04:00
Paul Beckingham
19674ee339 Unit Tests
- Specifically set certain color rules to '' to override default theme.
2015-03-07 16:11:38 -05:00
Paul Beckingham
87e9578666 Unit Tests
- Combined all the separate color rule tests into one script, and converted
  it to Python.
2015-03-07 13:29:59 -05:00