Coverage for app/venv/lib/python3.14/site-packages/weblate/wladmin/management/commands/configuration_health_check.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-07 07:15 +0000

1# Copyright © Michal Čihař <michal@weblate.org> 

2# 

3# SPDX-License-Identifier: GPL-3.0-or-later 

4 

5from weblate.utils.management.base import BaseCommand 

6from weblate.wladmin.models import ConfigurationError 

7 

8 

9class Command(BaseCommand): 

10 help = "runs a configuration health check" 

11 

12 def handle(self, *args, **options) -> None: 

13 ConfigurationError.objects.configuration_health_check()