[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-backoffice] 18/31: naming leftovers
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-backoffice] 18/31: naming leftovers |
Date: |
Thu, 04 Jan 2018 18:09:41 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository backoffice.
commit 5cd1a7e52256017776cb764779cb32de4722338b
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Nov 25 10:49:15 2017 +0100
naming leftovers
---
talerblog/blog/content.py | 6 +++---
talerblog/tests.py | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/talerblog/blog/content.py b/talerblog/blog/content.py
index 1c9e98d..42ecf18 100644
--- a/talerblog/blog/content.py
+++ b/talerblog/blog/content.py
@@ -38,12 +38,12 @@ def add_article(slug, title, teaser, main_file,
extra_files=[]):
def get_image_file(image):
- f = resource_filename("talerfrontends", os.path.join("blog/data/", image))
+ f = resource_filename("talerblog", os.path.join("blog/data/", image))
return os.path.abspath(f)
def get_article_file(article):
- f = resource_filename("talerfrontends", article.main_file)
+ f = resource_filename("talerblog", article.main_file)
return os.path.basename(f)
@@ -51,7 +51,7 @@ def add_from_html(resource_name, teaser_paragraph=0,
title=None):
"""
Extract information from article html.
"""
- res = resource_stream("talerfrontends", resource_name)
+ res = resource_stream("talerblog", resource_name)
soup = BeautifulSoup(res, 'html.parser')
if title is None:
title_el = soup.find("h1", attrs={"class":["chapter", "unnumbered"]})
diff --git a/talerblog/tests.py b/talerblog/tests.py
index cf9dbc6..36d27c5 100644
--- a/talerblog/tests.py
+++ b/talerblog/tests.py
@@ -2,8 +2,8 @@
import unittest
from mock import patch, MagicMock
-from talerfrontends.blog import blog
-from talerfrontends.talerconfig import TalerConfig
+from talerblog.blog import blog
+from talerblog.talerconfig import TalerConfig
tc = TalerConfig.from_env()
CURRENCY = tc["taler"]["currency"].value_string(required=True)
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-backoffice] 19/31: export PYTHONPATH before tests are run, and include articles and data into the installed bundle., (continued)
- [GNUnet-SVN] [taler-backoffice] 19/31: export PYTHONPATH before tests are run, and include articles and data into the installed bundle., gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 07/31: setuptools, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 02/31: auto{make,conf}, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 13/31: helper module, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 10/31: moving data, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 23/31: fix names, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 26/31: decrease article cost to make it work with tipping, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 27/31: adjust tests, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 03/31: bootstrap/wsgi/launcher, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 06/31: base template, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 18/31: naming leftovers,
gnunet <=
- [GNUnet-SVN] [taler-backoffice] 22/31: pacify PEP checkers, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 21/31: linting the launcher, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 28/31: survey in side bar, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 14/31: missing templates, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 11/31: actual blog logic, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 05/31: m4, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 09/31: __init__, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 30/31: mock and nose for testing, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 29/31: fix demobar, gnunet, 2018/01/04
- [GNUnet-SVN] [taler-backoffice] 31/31: repo description, gnunet, 2018/01/04