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
02db131fa1
tests: Use updated unittest method
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
246c3601be
Tests: Combined two almost identical tests into one
2017-01-08 11:53:05 -05:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
325771d899
Tests: Typo in test
2016-03-26 21:21:51 -04:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Wilhelm Schuermann
2a2627e8a9
Test: Make version test compatible with non-beta releases
2015-10-22 13:43:40 +02:00
Paul Beckingham
75152d913e
Test: Version test didn't know about betas
2015-09-07 17:15:42 -04:00
Tomas Babej
f5b9370623
tests: State explicit filetype for .t python files
2015-09-05 14:22:52 -04:00
Paul Beckingham
3f1f4853d6
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-17 14:40:49 -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
Paul Beckingham
795b11c9c9
Test: Added test for 'task --version'
2015-07-17 14:06:09 -04:00
Renato Alves
c3423243d8
Tests: Rename self.diag to self.tap and use self.t.diag where applicable
...
Having self.diag and self.t.diag was confusing as one referred to TAP
output (self.diag) while the other referred to "task diagnostics"
self.t.diag.
self.diag is now gone and was replaced by self.tap with the same
behavior.
2015-06-10 23:33:56 +01:00
Wilhelm Schuermann
4deb17696e
Tests: Parallelize Python tests
...
- "./run_all --fast" parallelizes all Python tests. Perl and C++ tests
are not guaranteed to run in an isolated environment, so run them
serially instead.
- Adjust some tests in order to recognize them as Python.
2015-05-06 19:17:33 +02:00
Renato Alves
dda190703e
Tests - merge basic.t with version.t and convert to python
...
* _version now outputs "2.4.2 (git-ref)" instead of only "git-ref" when building from git.
* Changelog updated accordingly.
2015-03-09 16:02:26 +00:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Renato Alves
d65e9b2594
Unittest - Test that the task binary used matches the current commit
2014-07-15 15:39:23 +01:00
Renato Alves
d354d13263
Unittest - Bring back diag() for generating TAP output
...
* Still needs work to make sure output is displayed after the test
status (not ok ...) and not before.
2014-07-14 11:38:04 +01:00
Renato Alves
42cfda704f
Unittest - Replacing old basetest framework
...
* Adapt bugs to work with the newer testing framework
2014-07-13 23:09:53 +01:00
Renato Alves
3c28566590
Unit tests - version.t now uses BaseTestCase
2014-02-19 23:01:18 -05:00
Renato Alves
b250ded517
Unit tests - Replace old version.t with the new python based version.py
2014-02-19 23:01:11 -05:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8ed92ca498
Copyright
...
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
26e2b17a44
Unit Tests
...
- Fixed bug where version.t would not run unless a .taskrc file existed.
2013-09-08 15:08:29 -04:00
Paul Beckingham
1f3230716f
Unit Tests
...
- Added test to make sure copyright is current.
2013-09-08 01:42:47 -04:00