# Path: statik/utils.py
# def add_url_path_component(path, component):
#     return '%s/%s' % (path.rstrip('/'), component.lstrip('/'))
# 
# Path: statik/filters.py
# @register.filter(name="date")
# def filter_datetime(value, format="%Y-%m-%d %H:%M:%S"):
#     return value.strftime(format)


import os.path
import unittest
import xml.etree.ElementTree as ET
from statik.views import *
from statik.utils import add_url_path_component
from statik.filters import filter_datetime
from statik.templating import *
from jinja2 import Environment, DictLoader
# -*- coding:utf-8 -*-




TEST_SIMPLE_VIEW = """path: /
template: home
context:
    static:

# Path: statik/utils.py
# def add_url_path_component(path, component):
#     return '%s/%s' % (path.rstrip('/'), component.lstrip('/'))
# 
# Path: statik/filters.py
# @register.filter(name="date")
# def filter_datetime(value, format="%Y-%m-%d %H:%M:%S"):
#     return value.strftime(format)


# Path: tests/modular/test_jinja2_views.py
import os.path
import unittest
import xml.etree.ElementTree as ET
from statik.views import *
from statik.utils import add_url_path_component
from statik.filters import filter_datetime
from statik.templating import *
from jinja2 import Environment, DictLoader

# -*- coding:utf-8 -*-




TEST_SIMPLE_VIEW = """path: /
template: home
context:
    static:

        page-title: Test page title