67069d7e05a7ee1195cba76c937ffca4d63d8ccf,jarbas/core/tests/__init__.py,,,#,4

Before Change



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="",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 67069d7e05a7ee1195cba76c937ffca4d63d8ccf
Time: 2016-11-11
Author: cuducos@gmail.com
File Name: jarbas/core/tests/__init__.py
Class Name:
Method Name:


Project Name: quiltdata/quilt
Commit Name: 555a08b64c6f03d544b33adb87187ad16c4e511a
Time: 2019-10-24
Author: dima@quiltdata.io
File Name: lambdas/access_counts/index.py
Class Name:
Method Name: handler


Project Name: okfn-brasil/serenata-de-amor
Commit Name: cfdd477e3480d55c90c26afe11b8446e906acf4d
Time: 2016-11-25
Author: cuducos@gmail.com
File Name: jarbas/core/tests/__init__.py
Class Name:
Method Name:


Project Name: hyperspy/hyperspy
Commit Name: d9126dac9355abaf922b962bfdd5368a177545fd
Time: 2016-09-05
Author: eric.prestat@gmail.com
File Name: hyperspy/io_plugins/blockfile.py
Class Name:
Method Name: _from_serial_date