Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Criar testes unitários #2

Open
mileo opened this issue Oct 9, 2017 · 0 comments
Open

Criar testes unitários #2

mileo opened this issue Oct 9, 2017 · 0 comments

Comments

@mileo
Copy link
Member

mileo commented Oct 9, 2017

Analisar os métodos usados pela localização brasileira e implementar doctests

https://wiki.python.org.br/DocTest

l10n_br_base/constante_tributaria.py: from pybrasil.valor.decimal import Decimal as D l10n_br_base/models/inherited_decimal_precision.py: from pybrasil.valor.decimal import Decimal as D l10n_br_base/models/sped_base.py: from pybrasil.data import parse_datetime, data_hora_horario_brasilia l10n_br_base/models/sped_participante.py: from pybrasil.base import mascara l10n_br_base/models/sped_participante.py: from pybrasil.inscricao import (formata_cnpj, formata_cpf, l10n_br_base/models/sped_participante.py: from pybrasil.telefone import (formata_fone, valida_fone_fixo, l10n_br_base/models/sped_unidade.py: from pybrasil.base import tira_acentos l10n_br_base/models/sped_unidade.py: from pybrasil.valor import valor_por_extenso_unidade l10n_br_base/models/sped_unidade.py: from pybrasil.valor.decimal import Decimal as D l10n_br_base/models/sped_empresa.py: from pybrasil.base import mascara, primeira_maiuscula l10n_br_base/models/sped_empresa.py: from pybrasil.data import parse_datetime, dia_util_pagamento, \ l10n_br_base/models/sped_empresa.py: from pybrasil.inscricao import ( l10n_br_base/models/sped_empresa.py: from pybrasil.telefone import ( l10n_br_base/models/inherited_mail_template.py: from pybrasil.base import (tira_acentos, primeira_maiuscula) l10n_br_base/models/inherited_mail_template.py: from pybrasil.data import (DIA_DA_SEMANA, l10n_br_base/models/inherited_mail_template.py: from pybrasil.valor import (numero_por_extenso, l10n_br_base/models/inherited_mail_template.py: from pybrasil.valor.decimal import Decimal as D l10n_br_base/models/inherited_mail_template.py: from pybrasil.valor.decimal import Decimal l10n_br_base/models/inherited_mail_template.py: # datas e valores da pybrasil nos templates de email l10n_br_base/models/sped_produto.py: from pybrasil.produto import valida_ean l10n_br_base/models/sped_produto.py: from pybrasil.base import tira_acentos l10n_br_base/models/sped_endereco.py: from pybrasil.base import mascara l10n_br_base/models/sped_endereco.py: from pybrasil.inscricao import (formata_cnpj, formata_cpf, l10n_br_base/models/sped_endereco.py: from pybrasil.telefone import (formata_fone, valida_fone_fixo, l10n_br_base/models/inherited_account_payment_term.py: from pybrasil.valor.decimal import Decimal as D l10n_br_base/models/inherited_account_payment_term.py: from pybrasil.data import (

mileo added a commit that referenced this issue Aug 8, 2018
[REF] Moving files to pybrasil module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant