You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aegis/templates/cookiecutter-aegis-project/{{cookiecutter.project_slug}}/tests/services/test_component_integration.py.j2
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,22 @@
19
19
_check_cpu_usage,
20
20
_check_disk_space,
21
21
_check_memory,
22
-
check_cache_health,
23
-
check_worker_health,
24
22
)
23
+
{%ifcookiecutter.include_redis == "yes"%}
24
+
from app.services.system.health import check_cache_health
25
+
{%endif%}
26
+
{%ifcookiecutter.include_database == "yes"%}
27
+
from app.services.system.health import check_database_health
28
+
{%endif%}
29
+
{%ifcookiecutter.include_worker == "yes"%}
30
+
from app.services.system.health import check_worker_health
31
+
{%endif%}
25
32
26
33
27
34
class TestComponentIntegration:
28
35
"""Test component health checks with controlled failure scenarios."""
0 commit comments