refactor: comentarii strict functionale, fara referinte PRD/stories
Curatare globala a comentariilor si docstring-urilor (app, tools, teste, scripturi): eliminate referintele la PRD-uri, US-xxx, task-uri istorice si review-uri; pastrata doar informatia functionala, formulata scurt. Regula adaugata in CLAUDE.md (sectiunea Stil). Fara modificari de cod sau comportament. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Teste FOUNDATION (Task #1): schema + migrari idempotente + openpyxl disponibil."""
|
||||
"""Teste schema + migrari idempotente + openpyxl disponibil."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -35,11 +35,11 @@ def _tables(conn) -> set[str]:
|
||||
# --- Coloane noi ---
|
||||
|
||||
def test_accounts_rar_creds_enc_dropata(db_conn):
|
||||
"""US-013: accounts.rar_creds_enc a fost dropata; submissions.rar_creds_enc ramane."""
|
||||
"""accounts.rar_creds_enc a fost dropata; submissions.rar_creds_enc ramane."""
|
||||
acc_cols = _table_cols(db_conn, "accounts")
|
||||
sub_cols = _table_cols(db_conn, "submissions")
|
||||
assert "rar_creds_enc" not in acc_cols, \
|
||||
"accounts.rar_creds_enc trebuie sa fie ABSENTA dupa US-013 DROP"
|
||||
"accounts.rar_creds_enc trebuie sa fie ABSENTA"
|
||||
assert "rar_creds_enc" in sub_cols, \
|
||||
"submissions.rar_creds_enc trebuie sa RAMANA (creds efemere per-cerere)"
|
||||
|
||||
@@ -158,7 +158,7 @@ def test_migrate_on_existing_db(monkeypatch):
|
||||
assert "batch_id" in sub_cols
|
||||
assert "row_index" in sub_cols
|
||||
assert "purge_after" in sub_cols
|
||||
# US-013: accounts.rar_creds_enc a fost dropata.
|
||||
# accounts.rar_creds_enc a fost dropata.
|
||||
assert "rar_creds_enc" not in acc_cols
|
||||
conn.close()
|
||||
get_settings.cache_clear()
|
||||
|
||||
Reference in New Issue
Block a user