mattsmida
ef9613e2d6
Renaming test files according to their language ( #3407 )
2024-05-01 14:28:07 -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
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
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
44dc19e21b
TW-1667: hooks: upon failure indicate which hook failed
...
- Thanks to Daniel Shahaf.
2017-01-16 13:14:08 -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
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
2962c0d99a
Tests: Remove unnecessary imports and simplify template.t
2015-06-06 02:52:33 +01:00
Paul Beckingham
87d00698db
Unit Tests
...
- Successful hook tests now query the task to make sure processing continued.
Could be better.
2015-03-07 16:18:44 -05:00
Renato Alves
80c01f3ffb
Tests - Remove assertTriggered, redundant with assertTriggeredCount
2015-02-15 18:10:36 +00:00
Renato Alves
7cd42b5d2f
Tests - Less verbose hooks.on-*.t tests
2015-02-15 18:10:36 +00:00
Renato Alves
1b218d68f5
Tests - Invalid JSON replies in hooks no longer fail the test framework
2015-02-15 18:10:36 +00:00
Paul Beckingham
c5a2b7f759
Unit Tests
...
- Fixed exected error for on-add-misbehave5. This highlights a potential
error in the test suite with the one failing test.
2015-02-14 17:03:43 -05:00
Paul Beckingham
4213afd408
Unit Tests
...
- Fixed on-add-misbehave6 error.
2015-02-14 16:52:47 -05:00
Paul Beckingham
8ad0c1172e
Unit Tests
...
- on-add now detects JSON emitted by hooks for different tasks.
2015-02-14 16:46:52 -05:00
Paul Beckingham
3cce6c23f5
Hooks
...
- Hooks now verify the expected number of JSON lines emitted by hook scripts.
2015-02-14 15:50:51 -05:00
Paul Beckingham
b1081bd510
Unit Tests
...
- Added hook tests for on-add.
2015-02-07 08:41:02 -05:00