jrnl/tests
Jonathan Wren 63850a33c1
Fix bug for new --list --format options when no default journal is specified (#1621)
* rename test config

* Change journal name validation

Journal name validation used to happen before postconfig commands could
have a chance to run, so now each command is responsible for its own
error-checking of the journal name.

Added a new decorator and function that makes this error-checking easier.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>

* fix wrapper function call to be more like original

* change arg names to show which aren't used

* add type hints

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2022-10-22 15:35:16 -07:00
..
bdd Fix bug for new --list --format options when no default journal is specified (#1621) 2022-10-22 15:35:16 -07:00
data Fix bug for new --list --format options when no default journal is specified (#1621) 2022-10-22 15:35:16 -07:00
lib Change default config to use journal key instead of journal name as key for file path (#1594) 2022-10-08 13:41:22 -07:00
unit Don't create empty file when attempting a YAML export to a non-existing folder (#1600) 2022-10-08 13:48:29 -07:00
__init__.py Implement Tox for testing (#1504) 2022-06-18 11:54:28 -07:00
conftest.py Clean up copyright notices and version screen (#1553) 2022-08-21 14:17:35 -07:00