sample_supplier_data = dict(
cnpj="12.345.678/9012-34",
opening=date(1995, 9, 27),
legal_entity="42 - The answer to life, the universe, and everything",
trade_name="Don"t panic",
name="Do not panic, sir",
After Change
from datetime import datetime
from django.utils import timezone
TZ = timezone.get_default_timezone()
sample_document_data = dict(
document_id=42,
congressperson_name="Roger That",
congressperson_id=1,
congressperson_document=2,
term=1970,
state="UF",
party="Partido",
term_id=3,
subquota_number=4,
subquota_description="Subquota description",
subquota_group_id=5,
subquota_group_description="Subquota group desc",
supplier="Acme",
cnpj_cpf="11111111111111",
document_number="6",
document_type=7,
issue_date="1970-01-01 03:00:00-03:00",
document_value=8.90,
remark_value=1.23,
net_value=4.56,
month=1,
year=1970,
installment=7,
passenger="John Doe",
leg_of_the_trip=8,
batch_number=9,
reimbursement_number=10,
reimbursement_value=11.12,
applicant_id=13
)
sample_activity_data = dict(
code="42",
description="So long, so long, and thanks for all the fish"
)
sample_supplier_data = dict(
cnpj="12.345.678/9012-34",
opening=datetime(1995, 9, 27, tzinfo=TZ).date(),
legal_entity="42 - The answer to life, the universe, and everything",
trade_name="Don"t panic",
name="Do not panic, sir",
type="BOOK",
status="OK",
situation="EXISTS",
situation_reason="Douglas Adams wrote it",
situation_date=datetime(2016, 9, 25, tzinfo=TZ).date(),
special_situation="WE LOVE IT",
special_situation_date=datetime(1997, 9, 28, tzinfo=TZ).date(),
responsible_federative_entity="Vogons",
address="Earth",
number="",