-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_tools.py
More file actions
35 lines (26 loc) · 885 Bytes
/
Copy pathtest_tools.py
File metadata and controls
35 lines (26 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# test_tools.py — Valida se todas as tools estão funcionando
from tools.data_tools import (
obter_resumo_geral,
vendas_por_categoria,
vendas_por_regiao,
top_subcategorias_lucro,
tendencia_vendas_anual,
vendas_por_segmento,
impacto_desconto,
)
print("🔧 Testando tools do Agente Analista...\n")
print("── Resumo Geral ──")
print(obter_resumo_geral())
print("\n── Vendas por Categoria ──")
print(vendas_por_categoria())
print("\n── Vendas por Região ──")
print(vendas_por_regiao())
print("\n── Top Sub-categorias ──")
print(top_subcategorias_lucro())
print("\n── Tendência Anual ──")
print(tendencia_vendas_anual())
print("\n── Vendas por Segmento ──")
print(vendas_por_segmento())
print("\n── Impacto do Desconto ──")
print(impacto_desconto())
print("\n✅ Todas as tools funcionando!")