[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontends] 02/02: introducing failing test,
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontends] 02/02: introducing failing test, as a reminder to implement arguments checking |
Date: |
Fri, 28 Jul 2017 12:38:51 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant-frontends.
commit 3cc56f28b67287498e200b5d216aa5a5208d7963
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jul 28 12:38:13 2017 +0200
introducing failing test, as a reminder to implement
arguments checking
---
talerfrontends/tests.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/talerfrontends/tests.py b/talerfrontends/tests.py
index e72217f..3d28995 100755
--- a/talerfrontends/tests.py
+++ b/talerfrontends/tests.py
@@ -23,8 +23,12 @@ class DonationsTestCase(unittest.TestCase):
def test_proposal_creation(self):
qs = "/generate-contract?donation_receiver=Tor&donation_amount=1.0"
+ bad_qs = "/generate-contract?buggy=qs"
response = self.app.get(qs)
assert 200 == response.status_code
+ response = self.app.get(bad_qs)
+ # FIXME: might NOT be 400 here
+ assert 400 == response.status_code
class BlogTestCase(unittest.TestCase):
def setUp(self):
--
To stop receiving notification emails like this one, please contact
address@hidden