ansible-borgbackup/molecule/generic_files/tests/test_client_folders.py
2019-03-12 10:33:14 +01:00

10 lines
292 B
Python

testinfra_hosts = ["ansible://folders"]
def test_include_exclude(host):
script = host.file("/usr/local/bin/borg-backup")
assert script.contains("/var/cache")
assert script.contains("--exclude '/var/cache/apt'")
assert script.user == "root"
assert script.group == "root"