gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch master updated: moving "direction" para


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: moving "direction" parameter inside POSTed data to /history
Date: Wed, 03 May 2017 21:34:17 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new b3ad8ff  moving "direction" parameter inside POSTed data to /history
b3ad8ff is described below

commit b3ad8ff41659668a0d4bf0f09e25e89b8ff726b2
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed May 3 21:34:00 2017 +0200

    moving "direction" parameter inside POSTed
    data to /history
---
 talerbank/app/schemas.py | 1 +
 talerbank/app/tests.py   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/talerbank/app/schemas.py b/talerbank/app/schemas.py
index a116a21..dc016a1 100644
--- a/talerbank/app/schemas.py
+++ b/talerbank/app/schemas.py
@@ -56,6 +56,7 @@ auth_schema = {
 history_schema = {
     "type": "object",
     "properties" : {
+        "direction": {"type": "string", "required": False},
         "auth": auth_schema,
         "start": {"type": "integer", "required": False},
         "delta": {"type": "integer", "required": False}
diff --git a/talerbank/app/tests.py b/talerbank/app/tests.py
index f72aac4..86ef66a 100644
--- a/talerbank/app/tests.py
+++ b/talerbank/app/tests.py
@@ -108,7 +108,8 @@ class HistoryTestCase(TestCase):
                                       {"username": "User", \
                                        "password": "Passoword"}}, \
                                   "start": 4, \
-                                  "delta": 4}',
+                                  "delta": 4, \
+                                  "direction": "whatever"}',
                           content_type="application/json")
         self.assertEqual(200, response.status_code)
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]