f9b8b77ee3432bec7138b1df82bf1edad17daf0c,jarbas/chamber_of_deputies/tests/test_reimbursements_command.py,TestFileLoader,test_reimbursement_property,#TestFileLoader#Any#,53
Before Change
"reimbursements.xz"
)
output = tuple(self.command.reimbursements)
expected = {
"applicant_id": "13",
"batch_number": "9",
"cnpj_cpf": "11111111111111",
"congressperson_document": "2",
"congressperson_id": "1",
"congressperson_name": "Roger That",
"document_id": "42",
"document_number": "6",
"document_type": "7",
"document_value": "8.90",
"installment": "7",
"issue_date": "2014-02-12T00:00:00",
"leg_of_the_trip": "8",
"month": "1",
"net_values": "1.99,2.99",
"party": "Partido",
"passenger": "John Doe",
"reimbursement_numbers": "10,11",
"reimbursement_values": "12.13,14.15",
"remark_value": "1.23",
"state": "UF",
"subquota_description": "Subquota description",
"subquota_group_description": "Subquota group desc",
"subquota_group_id": "5",
"subquota_number": "4",
"supplier": "Acme",
"term": "1970",
"term_id": "3",
"total_net_value": "4.56",
"reimbursement_value_total": "",
"year": "1970"
}
self.assertEqual(output[0], expected)
After Change
for field_object in Reimbursement._meta.fields:
field = field_object.name
with self.subTest():
self.assertEqual(
getattr(expected, field),
getattr(result, field)
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: okfn-brasil/serenata-de-amor
Commit Name: f9b8b77ee3432bec7138b1df82bf1edad17daf0c
Time: 2018-02-17
Author: cuducos@gmail.com
File Name: jarbas/chamber_of_deputies/tests/test_reimbursements_command.py
Class Name: TestFileLoader
Method Name: test_reimbursement_property
Project Name: RaRe-Technologies/gensim
Commit Name: 282c79793059aab70f2b07726df3831cf2e1f103
Time: 2015-07-03
Author: l.buitinck@esciencecenter.nl
File Name: gensim/test/test_corpora_dictionary.py
Class Name: TestDictionary
Method Name: testBuild
Project Name: scipy/scipy
Commit Name: 99acbc72c3ab0b6b254a824e284c3e4f01c4cde7
Time: 2020-11-10
Author: grlee77@gmail.com
File Name: scipy/ndimage/tests/test_interpolation.py
Class Name: TestNdimageInterpolation
Method Name: test_boundary_spline_accuracy