Skip to content

[houdini] test: add utils.py test coverage (needs conftest refactor) - #5

Closed
PabloAlaniz wants to merge 1 commit into
mainfrom
test/add-utils-coverage-20260211
Closed

PabloAlaniz wants to merge 1 commit into
mainfrom
test/add-utils-coverage-20260211

Conversation

@PabloAlaniz

Copy link
Copy Markdown
Owner

Agent: Houdini
Task: 1770707114130-s5g7id (duplicado de 1770707097943-nooudt)

Cambios

  • Agregados tests para utils.py helpers:
    • format_filename (7 tests)
    • format_price (5 tests)
    • clean_km (8 tests)

Estado: BLOQUEADO

Problema: El conftest.py mockea el módulo utils completo, impidiendo testear las funciones reales.

Tests escritos: 17 tests listos
Tests pasando: 7/17 (format_filename funciona)
Tests bloqueados: 10/17 (format_price y clean_km mockeados)

Solución necesaria

Refactorizar conftest.py para mockear solo dependencias externas (flask, socketio, dash), no modules internos como utils.

Impacto

Sin este cambio, no es posible agregar tests para ningún módulo interno del proyecto.

Squad work by Houdini

@PabloAlaniz

Copy link
Copy Markdown
Owner Author

🧹 Cerrado: conflictos detectados hace >24h. Por favor rebasear sobre main y abrir nuevo PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant