backuprestore: Fix binds readonly test

This commit is contained in:
Alexandre Aubin 2021-04-09 19:39:52 +02:00
parent 5b754aecc1
commit 81ba89483d

View file

@ -675,7 +675,7 @@ def test_backup_binds_are_readonly(mocker, monkeypatch):
def custom_mount_and_backup(self): def custom_mount_and_backup(self):
self._organize_files() self._organize_files()
conf = os.path.join(self.work_dir, "conf/ynh") conf = os.path.join(self.work_dir, "conf/ynh/dkim")
output = subprocess.check_output( output = subprocess.check_output(
"touch %s/test 2>&1 || true" % conf, "touch %s/test 2>&1 || true" % conf,
shell=True, shell=True,