Tomas Babej
ed4b932530
tests: Add test to cover invalid contexts due to tag exclusion
2021-11-06 11:58:47 -04:00
Tomas Babej
f0f704fc99
tests: Fix copy-paste error
...
The context name in these two tests was invalid in some assertions.
2021-11-06 11:58:46 -04:00
Tomas Babej
f6d9837b07
tests: Add test for legacy context interpretation
2021-10-14 22:36:11 -04:00
Tomas Babej
16c5a58843
tests: Add test for detection of invalid write contexts
2021-09-18 14:15:47 -04:00
Tomas Babej
690d00c8c5
tests: Update test expectations in context.t to account for write context
...
These changes make the tests a bit more wholesome by checking
configuration variables for the write context as well.
2021-09-18 14:15:47 -04:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Tomas Babej
48bf64a501
tests: Add test for report.<name>.context variable
2021-08-21 08:25:06 -04:00
Tomas Babej
80490b625e
tests: Fix context-related tests
2021-04-03 15:01:39 -04:00
Tomas Babej
87c05c4c6d
tests: Context definition now requires answering two questions
2021-04-03 15:01:39 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -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
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