Skip to content

Commit

Permalink
fix validator (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipao-mx authored Dec 13, 2023
1 parent 2596350 commit bd6561a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion speid/validations/stp_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ class StpTransaction:
NombreBeneficiario: StrictStr
TipoCuentaBeneficiario: int
CuentaBeneficiario: StrictStr
RFCCurpBeneficiario: StrictStr
ConceptoPago: StrictStr
ReferenciaNumerica: int
Empresa: StrictStr
RFCCurpBeneficiario: Optional[StrictStr] = None
Clave: Optional[int] = None

def transform(self) -> Transaction:
Expand Down
1 change: 1 addition & 0 deletions tests/commands/test_spei.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def test_reconciliate_deposits_historic(runner):

assert len(deposits_db) == 1
assert deposits_db[0].clave_rastreo == 'PruebaLiquidacion2'
assert deposits_db[0].monto == 1_00

# Al ejecutar el comando con las mismas claves de rastreo no debe
# duplicar los depósitos
Expand Down

0 comments on commit bd6561a

Please sign in to comment.