Add "source_directories_must_exist" option to NEWS (#501).
This commit is contained in:
parent
b115fb2fbe
commit
55c153409e
2 changed files with 4 additions and 2 deletions
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
1.7.10.dev0
|
||||
* #501: Optionally error if a source directory does not exist when "source_directories_must_exist"
|
||||
option in location configuration section is true.
|
||||
* #618: Support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option in
|
||||
borgmatic's storage configuration.
|
||||
|
||||
|
|
|
@ -2532,9 +2532,9 @@ def test_create_archive_with_stream_processes_calls_borg_with_processes_and_read
|
|||
|
||||
|
||||
def test_create_archive_with_non_existent_directory_and_source_directories_must_exist_raises_error():
|
||||
"""
|
||||
'''
|
||||
If a source directory doesn't exist and source_directories_must_exist is True, raise an error.
|
||||
"""
|
||||
'''
|
||||
flexmock(module.borgmatic.logger).should_receive('add_custom_log_levels')
|
||||
flexmock(module.logging).ANSWER = module.borgmatic.logger.ANSWER
|
||||
flexmock(module).should_receive('collect_borgmatic_source_directories').and_return([])
|
||||
|
|
Loading…
Reference in a new issue