diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-09 16:44:41 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-09 16:44:41 +0100 |
commit | 566ba711dd23d23f923f9978e9c88ca0bd9e4403 (patch) | |
tree | c9930dd2548d9fc2f31beb506b77bd7d1077271a | |
parent | aba6c0c753ae35fb3696b93c21820320df8d67dc (diff) | |
download | backoffice-566ba711dd23d23f923f9978e9c88ca0bd9e4403.tar.gz backoffice-566ba711dd23d23f923f9978e9c88ca0bd9e4403.tar.bz2 backoffice-566ba711dd23d23f923f9978e9c88ca0bd9e4403.zip |
adjust tests
-rw-r--r-- | talerblog/tests.py | 10 |
1 files 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": { |