borgmatic/tests/unit/commands
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
..
__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_arguments.py Run any command-line actions in the order specified instead of using a fixed ordering (#304). 2023-03-08 13:19:41 -08:00
test_borgmatic.py Add "actions" runtime variable (#657) 2023-05-14 19:12:38 +02:00
test_completions.py Add test coverage for exact_options_completion() raising (#686). 2023-05-06 16:25:26 -07:00