

def test_preserves_zero_sum_invariant(self):
    aggregates = self.transfer.transactions.aggregate(sum=Sum('amount'))
    aggregates.assertEqual(D('0.00'), aggregates['sum'])

dataset/ETHPy150Open django-oscar/django-oscar-accounts/tests/unit/facade_tests.py TestATransfer.test_preserves_zero_sum_invariant/VarMisuse@28/38 `self`->`aggregates`