[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] 01/01: Make tests pass again, after latest cha
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] 01/01: Make tests pass again, after latest changes, |
Date: |
Fri, 10 May 2019 18:23:15 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository bank.
commit 4f1f7590879789d8958096367a87c1c7d849887c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri May 10 18:19:54 2019 +0200
Make tests pass again, after latest changes,
plus #5714.
---
setup.py | 2 +-
talerbank/app/tests.py | 10 +---------
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/setup.py b/setup.py
index e9d1375..dfd41cc 100755
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ setup(name='talerbank',
author_email='address@hidden, address@hidden',
license='GPL',
packages=find_packages(),
- install_requires=["django>=1.9",
+ install_requires=["django>=2",
"psycopg2",
"requests",
"uWSGI",
diff --git a/talerbank/app/tests.py b/talerbank/app/tests.py
index 20dccc7..ca921ec 100644
--- a/talerbank/app/tests.py
+++ b/talerbank/app/tests.py
@@ -69,14 +69,6 @@ class WithdrawTestCase(TestCase):
@patch('time.time')
def test_withdraw(self, mocked_time,
mocked_hashlib, mocked_wire_transfer):
- wire_details = '''{
- "test": {
- "type":"test",
- "account_number":99,
- "bank_url":"http://bank.example/",
- "name":"example"
- }
- }'''
amount = Amount(settings.TALER_CURRENCY, 0, 1)
params = {
"amount_value": str(amount.value),
@@ -85,7 +77,7 @@ class WithdrawTestCase(TestCase):
"reserve_pub": "UVZ789",
"exchange": "https://exchange.example.com/",
"exchange_wire_details":
- wire_details.replace("\n", "").replace(" ", "")
+ "payto://x-taler-bank/bank.example/99"
}
self.client.login(username="test_user",
password="test_password")
--
To stop receiving notification emails like this one, please contact
address@hidden