Coverage for seedboxsync/front/views/healthcheck.py: 100%
5 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-07-26 17:46 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-07-26 17:46 +0000
1#
2# Copyright (C) 2015-2026 Guillaume Kulakowski <guillaume@kulakowski.fr>
3#
4# For the full copyright and license information, please view the LICENSE
5# file that was distributed with this source code.
6#
7"""SeedboxSync Flask vierw for healthcheck."""
9from flask import Response, jsonify
10from seedboxsync.front.views import bp
13@bp.route("/healthcheck")
14def healthcheck() -> tuple[Response, int]:
15 """Healthcheck view."""
16 return jsonify({"status": "ok"}), 200