|
|
@ -1,13 +1,14 @@ |
|
|
# coding=utf-8 |
|
|
# coding=utf-8 |
|
|
|
|
|
|
|
|
import unittest |
|
|
import unittest |
|
|
|
|
|
import os.path |
|
|
from pytrustnfe.xml import render_xml, sanitize_response |
|
|
from pytrustnfe.xml import render_xml, sanitize_response |
|
|
from const import NFSE, DEFAULT_RPS |
|
|
from const import NFSE, DEFAULT_RPS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
attrs = ['TipoLogradouro', 'Logradouro', 'NumeroEndereco', 'ComplementoEndereco', 'Bairro', 'CEP'] |
|
|
attrs = ['TipoLogradouro', 'Logradouro', 'NumeroEndereco', 'ComplementoEndereco', 'Bairro', 'CEP'] |
|
|
|
|
|
|
|
|
template_path = '../nfse/paulistana/templates' |
|
|
|
|
|
|
|
|
template_path = os.path.join(os.path.dirname(__file__), '..', 'nfse', 'paulistana', 'templates') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _get_nfse(lista_rps): |
|
|
def _get_nfse(lista_rps): |
|
|
|