[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: remove old test
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: remove old test |
Date: |
Tue, 13 Oct 2020 13:45:15 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new c580309 remove old test
c580309 is described below
commit c580309aa757b2e640756ebb85ca0279d11e3a86
Author: MS <ms@taler.net>
AuthorDate: Tue Oct 13 13:45:11 2020 +0200
remove old test
---
talerbank/app/tests.py | 31 -------------------------------
1 file changed, 31 deletions(-)
diff --git a/talerbank/app/tests.py b/talerbank/app/tests.py
index 02d3ad8..ab09ace 100644
--- a/talerbank/app/tests.py
+++ b/talerbank/app/tests.py
@@ -342,37 +342,6 @@ class WithdrawTestCase(TestCase):
def tearDown(self):
clear_db()
-
-class InternalWireTransferTestCase(TestCase):
- def setUp(self):
- BankAccount(
- user=User.objects.create_user(username="give_money", password="gm")
- ).save()
- self.take_money = BankAccount(
- user=User.objects.create_user(username="take_money"), account_no=4
- )
- self.take_money.save()
-
- def tearDown(self):
- clear_db()
-
- def test_internal_wire_transfer(self):
- client = Client()
- client.login(username="give_money", password="gm")
- response = client.post(
- reverse("profile", urlconf=urls),
- {
- "amount": 3.0,
- "receiver": self.take_money.account_no,
- "subject": "charity",
- },
- )
- take_money = BankAccount.objects.get(account_no=4)
- r = SignedAmount.parse(f"{settings.TALER_CURRENCY}:3.0")
- self.assertEqual(take_money.balance, r)
- self.assertEqual(302, response.status_code)
-
-
class RegisterTestCase(TestCase):
"""User registration"""
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: remove old test,
gnunet <=