54542222784567071f368d9e07900621afb15b8d,jarbas/api/tests/test_reimbursement_view.py,TestRetrieveApi,setUp,#TestRetrieveApi#,117

Before Change


class TestRetrieveApi(TestCase):

    def setUp(self):
        Reimbursement.objects.create(**sample_reimbursement_data)
        url = resolve_url("api:reimbursement-detail", document_id=42)
        self.resp = self.client.get(url)
        self.maxDiff = 2 ** 11

After Change


class TestRetrieveApi(TestCase):

    def setUp(self):
        self.reimbursement = mixer.blend(Reimbursement)
        url = resolve_url("api:reimbursement-detail",
                          document_id=self.reimbursement.document_id)
        self.resp = self.client.get(url)
        self.maxDiff = 2 ** 11
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 54542222784567071f368d9e07900621afb15b8d
Time: 2017-05-26
Author: eu@caiocarrara.com.br
File Name: jarbas/api/tests/test_reimbursement_view.py
Class Name: TestRetrieveApi
Method Name: setUp


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 54542222784567071f368d9e07900621afb15b8d
Time: 2017-05-26
Author: eu@caiocarrara.com.br
File Name: jarbas/api/tests/test_reimbursement_view.py
Class Name: TestListApi
Method Name: test_more_than_one_document_query


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 54542222784567071f368d9e07900621afb15b8d
Time: 2017-05-26
Author: eu@caiocarrara.com.br
File Name: jarbas/api/tests/test_reimbursement_view.py
Class Name: TestReceiptApi
Method Name: setUp