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
Tomas Babej
52c49169b4
tests: Use updated unittest methods
2020-11-21 12:39:03 -05:00
Paul Beckingham
3313e1f6cc
Updated copyright
2019-03-02 14:13:31 -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
3ed7fe265e
TW-1752: cleanup of diag output
...
- Thanks to David Patrick.
2016-01-11 16:27:15 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
18b810b033
Test: Added test for debug.hooks output
2015-10-28 21:55:25 -04:00
Paul Beckingham
8b2eac62ba
Test: Added test for hook details in 'diagnostics' command.
2015-10-28 14:58:45 -04:00
Tomas Babej
f5b9370623
tests: State explicit filetype for .t python files
2015-09-05 14:22:52 -04:00
Renato Alves
27b8cabac1
Test: Change most tests to use "add test" instead of split arguments
2015-07-17 19:14:33 +01:00
Renato Alves
fd17a68930
Tests: expose 'args' passed to hook scripts
...
- Useful to validate that all the expected arguments were passed with
correct escaping.
- Update test/template.t with one use-case for 'args'
2015-04-06 13:43:41 +01:00
Paul Beckingham
d405a5f3b5
Tests: Changed hook test to use a command that actually produces output
2015-04-05 16:14:20 -04:00
Paul Beckingham
c28932ebbe
Tests: Removed diag output from test. Still doens't work.
2015-04-05 13:29:00 -04:00
Paul Beckingham
d31227d2e2
Tests: Add testing for hook args. Doesn't work.
2015-04-05 13:04:51 -04:00