Bug Description
Description
On Windows computers, folder paths use backslashes (for example: C:\Users\username...).
In multiple test files, temporary folder paths are written into config YAML files inside double quotes:
The YAML config reader gets confused by \U inside double quotes because it thinks \U is a special code rather than a normal folder path.
- 8 unit tests in test_audit_export.py and test_identity_linking.py fail immediately on Windows.
- Any Windows user who writes double-quoted file paths in their config.yaml will see the bot crash on startup with a YAML parse error.
Steps to Reproduce
- On a Windows machine, open a terminal in the project directory.
- Run pytest tests/test_audit_export.py.
- The tests will fail with a yaml.scanner.ScannerError and SystemExit: 1.
Logs and Screenshots
Environment Details
- OS : Windows 11
- Browser : Microsoft Edge
Impact
Medium - Feature works but has issues
Code of Conduct
Bug Description
Description
On Windows computers, folder paths use backslashes (for example: C:\Users\username...).
In multiple test files, temporary folder paths are written into config YAML files inside double quotes:
The YAML config reader gets confused by \U inside double quotes because it thinks \U is a special code rather than a normal folder path.
Steps to Reproduce
Logs and Screenshots
Environment Details
Impact
Medium - Feature works but has issues
Code of Conduct