Skip to content

Commit

Permalink
Update tests of CST 60
Browse files Browse the repository at this point in the history
  • Loading branch information
felps-dev committed Feb 23, 2024
1 parent a41e79e commit 3d52a0c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_nfe_serializacao_cst_60.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#!/usr/bin/env python
# *-* encoding: utf8 *-*

import datetime
import unittest
from decimal import Decimal

from pynfe.entidades.cliente import Cliente
from pynfe.entidades.emitente import Emitente
from pynfe.entidades.notafiscal import NotaFiscal
from pynfe.entidades.fonte_dados import _fonte_dados
from pynfe.processamento.serializacao import SerializacaoXML
from pynfe.entidades.notafiscal import NotaFiscal
from pynfe.processamento.assinatura import AssinaturaA1
from pynfe.processamento.serializacao import SerializacaoXML
from pynfe.processamento.validacao import Validacao
from pynfe.utils.flags import (
CODIGO_BRASIL,
Expand All @@ -18,8 +20,6 @@
XSD_NFE,
XSD_NFE_PROCESSADA,
)
from decimal import Decimal
import datetime


class SerializacaoNFeTestCase(unittest.TestCase):
Expand Down Expand Up @@ -266,9 +266,9 @@ def total_e_produto_cst60_test(self):

self.assertEqual(orig, "0")
self.assertEqual(CST, "60")
self.assertEqual(vBCSTRet, "0")
self.assertEqual(vBCSTRet, "0.00")
self.assertEqual(pST, "0.0000")
self.assertEqual(vICMSSTRet, "0")
self.assertEqual(vICMSSTRet, "0.00")

# Informações Adicionais do produto
infAdProd = self.xml_assinado.xpath(
Expand Down

0 comments on commit 3d52a0c

Please sign in to comment.