More unittests
This commit is contained in:
26
tests/config/bad/typos.yml
Normal file
26
tests/config/bad/typos.yml
Normal file
@ -0,0 +1,26 @@
|
||||
notifikation:
|
||||
- type: Ntfy
|
||||
domain: https://ntfy.jcktrue.dk
|
||||
topic: testing
|
||||
logger: output.log
|
||||
rclone:
|
||||
option:
|
||||
bwlimit: 6M
|
||||
backup:
|
||||
- titel: Example
|
||||
src: temp/source
|
||||
dest: temp/destination
|
||||
template:
|
||||
notification: |
|
||||
{{ config.title }}
|
||||
From {{ config.source }} to {{ config.destination }}
|
||||
Backup started: {{ start | date }}
|
||||
Source size: {{ source_size | formatBytes}}
|
||||
Destination before: {{ destination_size_before | formatBytes}}
|
||||
Destination after: {{ destination_size_after | formatBytes}}
|
||||
Destination change : {{ (destination_size_after - destination_size_before) | formatBytes}}
|
||||
Backup completed: {{ end | date }}
|
||||
warn: |
|
||||
{{ config.title }}
|
||||
Error {{ config.source }} to {{ config.destination }}
|
||||
{{ exception }}
|
Reference in New Issue
Block a user