Commit graph

26 commits

Author SHA1 Message Date
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
07c21e79ad tests: Do not use filter objects
The filter objects are not well handled by the unittest framework, pass
a concrete number of occurences instead.
2019-01-01 19:44:39 -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
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
d564aac978 TW-1734: calendar gives an error when context is set
- Thanks to Simon Michael.
2016-01-11 22:44:47 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Tomas Babej
8505d8a42c tests: Make sure correct output stream is expected in CmdContext tests 2015-10-30 16:33:31 -04:00
Paul Beckingham
34d5a07d90 Test: Added context tests
- Added 'input="y\n"' to a test that was otherwise timing out.
- Added multi-word context test.
2015-10-28 17:37:08 -04:00
Paul Beckingham
bb807776cf Test: Added tests to verify context error handling 2015-10-28 16:40:14 -04:00
Paul Beckingham
fdcc7b3d0f Test: Modified timeout values
- Removed timeout for bulk.t, context.t
- Increased timeout for delete.t
2015-09-06 13:09:11 -04:00
Tomas Babej
f5b9370623 tests: State explicit filetype for .t python files 2015-09-05 14:22:52 -04:00
Paul Beckingham
617d1eaf3b Test: Removed TODO items that are done 2015-08-13 13:34:59 -04:00
Paul Beckingham
ffcc574c85 TW-1653: info report regression; shouldn't be context sensitive
- Thanks to David Patrick, Tomas Babej.
2015-08-12 21:39:04 -04:00
Renato Alves
fe23510c51 Test: Drop default confirmation:off and correct tests accordingly 2015-07-28 19:57:18 +01:00
Paul Beckingham
f910ce39de Test: Added TODO notes for further test scenarios 2015-07-25 17:55:39 -04:00
Renato Alves
ddfb9af407 Test: context.t refactoring 2015-07-17 19:14:33 +01:00
Renato Alves
8511c9f756 Tests: Strip unnecessary indexing in tests 2015-06-04 20:55:53 +01:00
Renato Alves
bf29210719 Tests: checks for active context in 'context list' 2015-06-04 20:55:15 +01:00
Tomas Babej
9748fa2ab1 tests: Fix asserted strings in context tests 2015-02-24 16:51:20 -05:00
Tomas Babej
1a0f479394 CmdContext: Add helpful hint to output when setting context 2015-02-24 16:51:05 -05:00
Tomas Babej
ee23a099f2 CmdContext: Minor style and message changes 2015-02-23 19:21:50 -05:00
Tomas Babej
c2a9bb65e6 tests: Add tests for the context feature 2015-02-23 19:20:00 -05:00