jrnl/tests/bdd/features
Micah Jerome Ellison 4a7057c038
Refactor --template code (#1711)
* Move path concerns to path.py and template concerns to editor.py -- BDD tests are failing
* Move path-related constants from config.py to path.py
* Mock get_templates_path in its new calling file
* Mediate template arg vs. config in controller then read template text in editor and unify those two use cases.
Some tests still failing
* Fix test whose message had changed
* poe format
* Refactor for easier unit testing and add unit tests
* Use path strings instead of Path objects in return values to prevent side effects that caused unit tests to fail on some platforms
* poe format
* Attempt to bypass getcwd errors in CI with patch
* Consistently use strings for paths instead of some strings and some pathlib.Path
* Keep pathlib within a function for readability
* fix for ruamel.yaml versions >=0.17.22
* Run poe format

---------

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
2023-05-20 16:13:24 -07:00
..
actions.feature Allow combinations of --change-time, --delete, and --edit while correctly counting the number of entries affected (#1669) 2023-03-25 12:32:25 -07:00
build.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
change_time.feature Allow combinations of --change-time, --delete, and --edit while correctly counting the number of entries affected (#1669) 2023-03-25 12:32:25 -07:00
config_file.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
core.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
datetime.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
delete.feature Allow combinations of --change-time, --delete, and --edit while correctly counting the number of entries affected (#1669) 2023-03-25 12:32:25 -07:00
encrypt.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
file_storage.feature Prompt to include colors in config when first running jrnl (#1687) 2023-02-25 15:30:25 -08:00
format.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
import.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
install.feature Add message with config location and docs location when installation is complete (#1695) 2023-03-04 12:45:37 -08:00
multiple_journals.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
override.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
password.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
search.feature Allow combinations of --change-time, --delete, and --edit while correctly counting the number of entries affected (#1669) 2023-03-25 12:32:25 -07:00
star.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
tag.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
template.feature Refactor --template code (#1711) 2023-05-20 16:13:24 -07:00
upgrade.feature Update copyright notices for 2023 (#1660) 2023-01-07 13:39:07 -08:00
write.feature Allow combinations of --change-time, --delete, and --edit while correctly counting the number of entries affected (#1669) 2023-03-25 12:32:25 -07:00