Move the remaining template_global into 'template-utils' blueprint

This commit is contained in:
Kfir Hadas
2017-07-22 06:29:38 +03:00
parent 93f94023d1
commit c539795fdc
3 changed files with 8 additions and 9 deletions

View File

@@ -4,9 +4,8 @@ import datetime
from email.utils import formatdate
from tests import NyaaTestCase
from nyaa.routes import category_name
from nyaa.template_utils import (_jinja2_filter_rfc822, _jinja2_filter_rfc822_es, get_utc_timestamp,
get_display_time, timesince, filter_truthy)
get_display_time, timesince, filter_truthy, category_name)
class TestTemplateUtils(NyaaTestCase):