diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-05-10 18:19:54 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-05-10 18:21:58 +0200 |
commit | 4f1f7590879789d8958096367a87c1c7d849887c (patch) | |
tree | 1c78d23ca9859f1d9f7fe90f4b2cc1ecd7eed3ec /talerbank/app | |
parent | 9bb9dc5d68fe8dfb0e836e510ccd4939b8bee1be (diff) | |
download | bank-4f1f7590879789d8958096367a87c1c7d849887c.tar.gz bank-4f1f7590879789d8958096367a87c1c7d849887c.tar.bz2 bank-4f1f7590879789d8958096367a87c1c7d849887c.zip |
Make tests pass again, after latest changes,
plus #5714.
Diffstat (limited to 'talerbank/app')
-rw-r--r-- | talerbank/app/tests.py | 10 |
1 files changed, 1 insertions, 9 deletions
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") |