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