[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: test /config
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: test /config |
Date: |
Fri, 28 Aug 2020 10:09:43 +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 d8fdf6d test /config
d8fdf6d is described below
commit d8fdf6d2b7fb104e4885007e02538fa674278fb7
Author: MS <ms@taler.net>
AuthorDate: Fri Aug 28 10:09:40 2020 +0200
test /config
---
talerbank/app/tests.py | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/talerbank/app/tests.py b/talerbank/app/tests.py
index d893637..f5a70b0 100644
--- a/talerbank/app/tests.py
+++ b/talerbank/app/tests.py
@@ -64,8 +64,17 @@ def clear_db():
cursor.execute("ALTER SEQUENCE app_bankaccount_account_no_seq" "
RESTART")
cursor.execute("ALTER SEQUENCE app_banktransaction_id_seq RESTART")
+# Testing the "Integration API":
+# has three operations: 1) /config, 2,3) create, see status of withdrawal.
+class IntegrationConfigTestCase(TestCase):
+ def test_config(self):
+ c = Client()
+ r = c.get("/config")
+ self.assertEqual(r.status_code, 200)
+
# Testing the "Access API":
-# (testing) registration* + ask for balance* + withdraw: create* / ask
status* / abort* / confirm.
+# (testing) registration + ask for balance
+# withdraw: create / ask status / abort / confirm.
class AccessApiWithdrawTestCase(TestCase):
def setUp(self):
clear_db()
--
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: test /config,
gnunet <=