8 lines
360 B
Python
8 lines
360 B
Python
import os
|
|
|
|
# When true, every repository module exposes its in-memory Mock*
|
|
# implementation instead of the real PocketBase-backed one. Set in the
|
|
# test environment (see tests/conftest.py) so the full service layer can
|
|
# be exercised without a running PocketBase instance.
|
|
USE_MOCK_REPOSITORIES = os.getenv('USE_MOCK_REPOSITORIES', 'false').lower() == 'true'
|