test: remediate and stabilize auxiliary backend and frontend tests

- Standardized task log, LLM provider, and report profile tests.
- Relocated auxiliary tests into __tests__ directories for consistency.
- Updated git_service and defensive guards with minor stability fixes discovered during testing.
- Added UX integration tests for the reports list component.
This commit is contained in:
2026-03-04 13:54:06 +03:00
parent c5a0823b00
commit 4fec2e02ad
8 changed files with 408 additions and 3 deletions

View File

@@ -100,7 +100,10 @@ def test_dashboard_dataset_relations():
logger.info(f" Found {len(dashboards)} dashboards using this dataset:")
for dash in dashboards:
logger.info(f" - Dashboard ID {dash.get('id')}: {dash.get('dashboard_title', dash.get('title', 'Unknown'))}")
if isinstance(dash, dict):
logger.info(f" - Dashboard ID {dash.get('id')}: {dash.get('dashboard_title', dash.get('title', 'Unknown'))}")
else:
logger.info(f" - Dashboard: {dash}")
elif 'result' in related_objects:
# Some Superset versions use 'result' wrapper
result = related_objects['result']