Max Rossmannek
6d2ecaa15c
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-12-06 10:00:59 -05:00
Tomas Babej
351965a87b
Update copyright to 2020
2020-11-21 12:43:40 -05:00
Paul Beckingham
3313e1f6cc
Updated copyright
2019-03-02 14:13:31 -05:00
Tomas Babej
9e7f259d03
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-02-07 08:37:59 -05:00
Tomas Babej
2140298af2
tests: Do not explicitly require Python 2.7
2019-02-07 08:37:59 -05:00
Simon Ruderich
c7edf914e1
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-05-14 01:00:23 -04:00
Paul Beckingham
216d4d63bc
Copyright 2018
2018-05-13 23:30:21 -04:00
Paul Beckingham
88516acdaa
Copyright update
2018-05-13 20:50:26 -04: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