Commit graph

5 commits

Author SHA1 Message Date
Norwid Behrnd
045f946439 style: more compact generation of pytest.ini
Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-11-21 21:25:50 +01:00
Norwid Behrnd
82bfd8e66e test(pytest.ini): correct a functional typo
Because it is `markers` and not `Markers`, the earlier version
caused `pytest` to issue a warning.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-11-12 18:00:44 +01:00
Norwid Behrnd
39364a6aef test: reinstall pytest.ini / label test sets
Previously present labels to check appendfilename's work in either
default, prepend, or smart prepend pattern as well as file
pytest.ini are reinstalled again.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-11-05 22:04:29 +01:00
Norwid Behrnd
c89aa42418 fix(requirements.txt): update and extend scope
By now, an update/move to `pyreadline3` is sensible (as already in
the principal branch).  Extension with `pytest` offers an optional
test on site.

In Linux Debian 13/trixie (virtual environment of Python 3.12.4 and
pytest 8.3.3), out of 540 tests all 540 pass, and 4 are tagged
with a warning.  Pylint (3.3.1)/astroid (3.3.5) indicate a couple of
possible improvements (r strings, etc.) and hence rate
test_appendfilename.py with 6.21/10 -- but does not report a syntax
error.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-10-31 10:28:49 +01:00
Norwid Behrnd
1f1292d04a Cherry-pick from cebc8c42
For programmatic testing of appendfilename, a test generator
is written.  This tangles a Makefile, a pytest.ini and the
test script.  Despite the incomplete coverage of this approach,
an inconsistency in appendfilename's interaction on files with
the simple YYYY-MM-DD timestamp (date2name) is spot.
2022-01-06 16:09:05 +01:00