feat: alternar_ativo em CLIENTE e limpar em LOG_PAINEL (camada de banco)

This commit is contained in:
Gustavo
2026-08-20 10:49:43 -03:00
parent 0fdf4ab4e3
commit 0c82170c26
4 changed files with 48 additions and 0 deletions
+9
View File
@@ -40,3 +40,12 @@ def test_contar(limpar):
db_log.registrar("teste-log", "criar", "cliente", "1", True)
depois = db_log.contar()
assert depois == antes + 1
def test_limpar_apaga_tudo(limpar):
db_log.registrar("teste-log", "criar", "cliente", "1", True)
assert db_log.contar() > 0
db_log.limpar()
assert db_log.contar() == 0