flamenco/internal/manager/config/test_files/config_with_backslashes.yaml
Sybren A. Stüvel 4a201d47b4 Cleanup: add unit test for parsing backslashes in variable values
Backslashes can be included in two ways, as-is (which works fine) and
between double quotes (in which case they need escaping). This test checks
for both.
2022-08-29 17:28:40 +02:00

25 lines
704 B
YAML

# File for use in unit tests
#
# This file has variable definitions with various ways to include backslashes in
# values.
_meta:
version: 3
manager_name: Backslash Tester
database: flamenco-manager-backslash-tester.sqlite
listen: :8123
autodiscoverable: false
local_manager_storage_path: ./flamenco-manager-storage
shared_storage_path: ./tmp/flamenco-shared-storage
shaman:
enabled: false
variables:
blender:
values:
- platform: single-backslash
value: C:\Downloads\blender-1.0\blender.exe
- platform: double-backslash
value: C:\\Downloads\\blender-1.0\\blender.exe
- platform: quoted-double-backslash
value: "C:\\Downloads\\blender-1.0\\blender.exe"