Make backend tests use a writable runtime state path #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The local
.venvbackend test run currently fails outside Docker becausetest_filesystem_ssh_credential_uses_existing_key_pathtries to materialize SSH credentials under/opt/pobsync/state/ssh-credentials/.... In this development environment/opt/pobsyncis read-only, so the otherwise unrelated full backend test suite fails withOSError: [Errno 30] Read-only file system.Goal:
POBSYNC_HOMEor the credential materialization path to a temporary writable directory.python manage.py test pobsync_backend -v 2works from a local virtualenv without Docker-specific writable paths.Context:
/opt/pobsyncwrite access.