def test_is_permitted(self):
        self.user = UserFactory()
        now = timezone.now()
        source = AccountFactory(primary_user=None, credit_limit=None)
        destination = AccountFactory(end_date=now - timezone.timedelta(days=1))
        try:
            Transfer.objects.create(source, destination,
                                    D('20.00'), user=self.user)
        except exceptions.AccountException as e:
            self.fail(e % "Transfer failed: %s")
dataset/ETHPy150Open django-oscar/django-oscar-accounts/tests/unit/transfer_tests.py/TestATransferToAnInactiveAccount.test_is_permitted/swapped operands of `%`