gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant-frontends] branch master updated: fix tests


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant-frontends] branch master updated: fix tests run and authors.
Date: Mon, 16 Oct 2017 15:45:34 +0200

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

marcello pushed a commit to branch master
in repository merchant-frontends.

The following commit(s) were added to refs/heads/master by this push:
     new 8a211b3  fix tests run and authors.
8a211b3 is described below

commit 8a211b336d6ffe37a98916331b9ece96f3dd2d77
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Oct 16 15:44:55 2017 +0200

    fix tests run and authors.
---
 Makefile.in                                | 4 +++-
 setup.py                                   | 4 ++--
 talerfrontends/blog/static/web-common      | 2 +-
 talerfrontends/donations/static/web-common | 2 +-
 talerfrontends/tests.py                    | 2 ++
 5 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 2df8331..33a902c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -52,4 +52,6 @@ install: $(templates) install-data
 # run testcases
 .PHONY: check
 check:
-       @export TALER_CONFIG_FILE=./talerfrontends/tests.conf; python3 
./talerfrontends/tests.py
+       @export TALER_CONFIG_FILE=./talerfrontends/tests.conf; \
+        export address@hidden@/lib/python3.5/site-packages; \
+        python3 ./talerfrontends/tests.py
diff --git a/setup.py b/setup.py
index e89f49f..9a74808 100755
--- a/setup.py
+++ b/setup.py
@@ -4,8 +4,8 @@ setup(name='talerfrontends',
       version='0.0',
       description='Example payment frontends for GNU Taler',
       url='git://taler.net/bank',
-      author='Florian Dold',
-      author_email='address@hidden',
+      author='Florian Dold, Marcello Stanisci',
+      author_email='address@hidden, address@hidden',
       license='GPL',
       packages=find_packages(),
       install_requires=["Flask>=0.10", "beautifulsoup4"],
diff --git a/talerfrontends/blog/static/web-common 
b/talerfrontends/blog/static/web-common
index 22a8423..43278f1 160000
--- a/talerfrontends/blog/static/web-common
+++ b/talerfrontends/blog/static/web-common
@@ -1 +1 @@
-Subproject commit 22a84231b7b831d8cd92b4076456568d7d5730be
+Subproject commit 43278f112f1b3e3f9bbf35574c09413527e40294
diff --git a/talerfrontends/donations/static/web-common 
b/talerfrontends/donations/static/web-common
index 22a8423..43278f1 160000
--- a/talerfrontends/donations/static/web-common
+++ b/talerfrontends/donations/static/web-common
@@ -1 +1 @@
-Subproject commit 22a84231b7b831d8cd92b4076456568d7d5730be
+Subproject commit 43278f112f1b3e3f9bbf35574c09413527e40294
diff --git a/talerfrontends/tests.py b/talerfrontends/tests.py
index 71944b2..5068694 100755
--- a/talerfrontends/tests.py
+++ b/talerfrontends/tests.py
@@ -29,8 +29,10 @@ class DonationsTestCase(unittest.TestCase):
         bad_receiver = 
"/generate-contract?donation_receiver=Torrone&donation_amount=2"
         response = self.app.get(qs)
         assert 200 == response.status_code
+        logger.info("Testing against bad query string")
         response = self.app.get(bad_qs)
         assert 400 == response.status_code
+        logger.info("Testing against bad donation receiver")
         response = self.app.get(bad_receiver)
         assert 404 == 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]