mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 14:56:01 +00:00
test: set SYNC_BASE_PATH to romm_test/sync for pytest
CI runs pytest without root, so the new /var/lib/romm/sync default fails when FSSyncHandler tries to mkdir its base path at import time. The other handlers stay writable in tests because they derive from ROMM_BASE_PATH=romm_test (relative); pin SYNC_BASE_PATH the same way. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@ asyncio_default_fixture_loop_scope = function
|
||||
testpaths = tests
|
||||
env =
|
||||
ROMM_BASE_PATH=romm_test
|
||||
SYNC_BASE_PATH=romm_test/sync
|
||||
DB_HOST=127.0.0.1
|
||||
DB_NAME=romm_test
|
||||
DB_USER=romm_test
|
||||
|
||||
Reference in New Issue
Block a user