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
Dustin J. Mitchell
20af583e21
Refactor to store dependencies as individual attributes
...
This also drops support for the transitional `json.depends.array`
configuration value, which has not been necessary since ~2016.
As with tags, dependencies are stored in both a "combined",
comma-separated format (for compatibility) and in an
attribute-per-dependency format (for the future).
2021-08-17 20:36:54 -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
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
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
774cf3e2d9
Tests: Fixed import/export tests that assumed a default value
...
- Instead of settting the value.
2016-02-21 11:16:19 -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
Paul Beckingham
79041ba501
Test: Adjusted expected value
2015-08-13 07:05:29 -04:00
Paul Beckingham
44fc565f6d
Test: Updated test to have ISO8601 duration value
2015-07-27 20:48:56 -04:00
Renato Alves
3c7187d801
Tests: Create compat.py for Python 3 compatibility
...
Individual tests are not yet fully compatible with Python 3.
Some still have issues with I/O encoding/decoding. The painful part...
2015-07-24 15:29:41 +01:00
Wilhelm Schuermann
d28cff7cae
TW-158: Make tests more specific
2015-07-22 23:33:42 +02:00
Wilhelm Schuermann
0f4cbc5dc9
TW-158: Add failing tests
2015-07-22 23:03:02 +02:00
Paul Beckingham
5b0c3af927
Test: Added export limit test
...
- Thanks to Daniel Shahaf.
2015-07-17 22:14:18 -04:00
Paul Beckingham
9a390644ef
Test: Added export limit test
2015-07-17 21:25:42 -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
Wilhelm Schuermann
c1a0370daa
Config: Make json.array default to "on"
...
- This makes the default "export" output work out of the box with most
JSON parsing libraries.
2015-07-03 23:42:18 +02:00
Renato Alves
2962c0d99a
Tests: Remove unnecessary imports and simplify template.t
2015-06-06 02:52:33 +01:00
Wilhelm Schuermann
9e6c6ecb93
TW-1583: Invalid ID displayed after done/delete
...
- Fix completed/deleted tasks getting an ID when GC is going to be run,
previously resulting in invalid IDs being displayed in reports that
show non-pending tasks.
A side effect of this fix is that it is sometimes not possible to
filter by ID when running a report right after calling done/delete.
This problem existed before; this change makes it happen on the first
report instead of the second, so it is more consistently broken.
Commands that modify tasks are not affected, making this an annoying
yet harmless defect.
2015-03-28 10:36:58 +01:00
Renato Alves
834b4ddab6
Tests: Use faketime instead of time.sleep.
2015-03-27 10:14:44 +00:00
Renato Alves
357850177d
Tests: common/reusable variables live in basetest.utils
2015-03-27 10:14:44 +00:00
Tomas Babej
5a3037f257
Tests: Fix error in export.t and add test for urgency
2015-01-12 15:38:44 -05:00
Paul Beckingham
5a7117630e
Unit Tests
...
- Typo.
2015-01-05 20:04:26 -05:00
Paul Beckingham
e9f9f6a86e
Unit Tests
...
- Added copyright and removed whitespace at EOL.
2015-01-05 19:52:17 -05:00
Tomas Babej
8ea1563944
Tests: Add basic coverage for the types of attributes in the export command
2015-01-05 19:48:52 -05:00