borgmatic/tests/unit
C-Duv f17fde399e Add "actions" runtime variable (#657)
This commit adds the "actions" variable to the list of variables
borgmatic can interpolate at runtime.

This variable will contains the list (as a string of comma-separated
elements) of all the actions borgmatic will run in this instance.

This will allow running "intelligent" before_actions and after_actions
hooks capable of behavior dependent of the actual action borgmatic will
perform/has performed.

Original need for this variable was to automatically mount and unmount
an NFS remote folder.

Issue: #657
2023-05-14 19:12:38 +02:00
..
actions Add support for logging each log line as a JSON object via global "--log-json" flag (#680). 2023-05-08 23:00:49 -07:00
borg Add support for logging each log line as a JSON object via global "--log-json" flag (#680). 2023-05-08 23:00:49 -07:00
commands Add "actions" runtime variable (#657) 2023-05-14 19:12:38 +02:00
config Fix borgmatic error when not finding the configuration schema for certain "pip install --editable" development installs (#687). 2023-04-30 16:24:10 -07:00
hooks Another try. Backing out psql error changes (#678). 2023-04-21 10:34:50 -07:00
__init__.py Move tests to the root of the repository, in keeping with more common convention. 2018-09-30 13:57:20 -07:00
test_execute.py Upgrade test requirements and code style requirements. Auto-reformat code accordingly. 2023-04-14 19:35:24 -07:00
test_logger.py Add "--log-file-format" flag for customizing the log message format (#658). 2023-04-02 23:06:36 -07:00
test_signals.py Fix handling of TERM signal to exit borgmatic, not just forward the signal to Borg (#516). 2022-04-03 13:12:48 -07:00
test_verbosity.py Fix logs that interfere with JSON output by making warnings go to stderr instead of stdout (#602). 2022-12-02 12:12:10 -08:00