

def test_account_exception_raised_for_invalid_transfer(self):
    user = UserFactory()
    source = AccountFactory(credit_limit=D('0.00'))
    destination = AccountFactory()
    with self.assertRaises(exceptions.AccountException):
        facade.transfer(self, destination, D('100'), user)

dataset/ETHPy150Open django-oscar/django-oscar-accounts/tests/unit/facade_tests.py TestErrorHandling.test_account_exception_raised_for_invalid_transfer/VarMisuse@50/71 `source`->`self`