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: involving


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant-frontends] branch master updated: involving the blog in tests
Date: Fri, 28 Jul 2017 12:09: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 fea52e9  involving the blog in tests
fea52e9 is described below

commit fea52e92262f6dd35ce598abc5159f7d09c9e0e0
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jul 28 12:09:01 2017 +0200

    involving the blog in tests
---
 talerfrontends/tests.conf |  7 +++++++
 talerfrontends/tests.py   | 13 +++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/talerfrontends/tests.conf b/talerfrontends/tests.conf
index f37c9fd..30d455e 100644
--- a/talerfrontends/tests.conf
+++ b/talerfrontends/tests.conf
@@ -10,3 +10,10 @@ UWSGI_UNIXPATH_MODE = 660
 UWSGI_SERVE = unix
 UWSGI_UNIXPATH = $HOME/sockets/donations.uwsgi
 UWSGI_UNIXMODE = 666
+
+[blog]
+UWSGI_UNIXPATH_MODE = 660
+instance = FSF
+UWSGI_SERVE = unix
+UWSGI_UNIXPATH = $HOME/sockets/blog.uwsgi
+UWSGI_UNIXMODE = 666
diff --git a/talerfrontends/tests.py b/talerfrontends/tests.py
index 4a1a7d6..2c4fb18 100755
--- a/talerfrontends/tests.py
+++ b/talerfrontends/tests.py
@@ -7,8 +7,10 @@ a wallet (resume Python wallet?)!
 
 import unittest
 from donations import donations
+from blog import blog
 
 dapp = donations.app
+bapp = donations.app
 
 class DonationsTestCase(unittest.TestCase):
     def setUp(self):
@@ -19,5 +21,16 @@ class DonationsTestCase(unittest.TestCase):
         response = self.app.get("/") 
         assert 200 == response.status_code
 
+class BlogTestCase(unittest.TestCase):
+    def setUp(self):
+        bapp.testing = True
+        self.app = bapp.test_client()
+
+    def test_root(self):
+        response = self.app.get("/") 
+        assert 200 == response.status_code
+
+
+
 if "__main__" == __name__:
     unittest.main()

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



reply via email to

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