mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 13:31:27 +00:00
524adaa8bc
Continuation of the broken #21 Co-authored-by: dettlaff <dettlaff@riseup.net> Co-authored-by: def <dettlaff@riseup.net> Co-authored-by: Houkime <> Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/112 Reviewed-by: houkime <houkime@protonmail.com>
15 lines
435 B
Python
15 lines
435 B
Python
from os import environ
|
|
|
|
from selfprivacy_api.utils.huey import huey
|
|
|
|
from selfprivacy_api.backup.tasks import *
|
|
from selfprivacy_api.services.tasks import move_service
|
|
from selfprivacy_api.jobs.upgrade_system import rebuild_system_task
|
|
|
|
from selfprivacy_api.jobs.test import test_job
|
|
from selfprivacy_api.jobs.nix_collect_garbage import calculate_and_clear_dead_paths
|
|
|
|
|
|
if environ.get("TEST_MODE"):
|
|
from tests.test_huey import sum
|