gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-blog] branch master updated: adjust tests


From: gnunet
Subject: [GNUnet-SVN] [taler-blog] branch master updated: adjust tests
Date: Sat, 09 Dec 2017 16:44:52 +0100

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

dold pushed a commit to branch master
in repository blog.

The following commit(s) were added to refs/heads/master by this push:
     new 566ba71  adjust tests
566ba71 is described below

commit 566ba711dd23d23f923f9978e9c88ca0bd9e4403
Author: Florian Dold <address@hidden>
AuthorDate: Sat Dec 9 16:44:41 2017 +0100

    adjust tests
---
 talerblog/tests.py | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/talerblog/tests.py b/talerblog/tests.py
index dc720cf..050d852 100644
--- a/talerblog/tests.py
+++ b/talerblog/tests.py
@@ -26,10 +26,7 @@ class BlogTestCase(unittest.TestCase):
                 "order": {
                     "summary": "Check Me",
                     "nonce": "55",
-                    "amount": {
-                        "value": 1,
-                        "fraction": 0,
-                        "currency": CURRENCY},
+                    "amount": blog.ARTICLE_AMOUNT,
                     "max_fee": {
                         "value": 1,
                         "fraction": 0,
@@ -38,10 +35,7 @@ class BlogTestCase(unittest.TestCase):
                         "description": "Essay: Check Me",
                         "quantity": 1,
                         "product_id": 0,
-                        "price": {
-                            "value": 1,
-                            "fraction": 0,
-                            "currency": CURRENCY}}],
+                        "price": blog.ARTICLE_AMOUNT}],
                     "fulfillment_url": "http://localhost/essay/Check_Me";,
                     "pay_url": "http://localhost/pay";,
                     "merchant": {

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



reply via email to

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