# Path: statik/generator.py
# def generate(input_path, output_path=None, in_memory=False, safe_mode=False, deploy_method=None, error_context=None):
#     """Executes the Statik site generator using the given parameters.
#     """
#     project = StatikProject(input_path, safe_mode=safe_mode, error_context=error_context)
#     return project.generate(output_path=output_path, in_memory=in_memory, deploy_method=deploy_method)


import os
import os.path
import unittest
import logging
import xml.etree.ElementTree as ET
from statik.generator import generate
from statik.utils import *
# -*- coding: utf-8 -*-




DEBUG = (os.environ.get('DEBUG', False) == "True")


class TestStatikMustacheTemplating(unittest.TestCase):

    def setUp(self):
        if DEBUG:
            logging.basicConfig(
                level=logging.DEBUG,
                format='%(asctime)s\t%(name)s\t%(levelname)s\t%(message)s',
            )


# Path: statik/generator.py
# def generate(input_path, output_path=None, in_memory=False, safe_mode=False, deploy_method=None, error_context=None):
#     """Executes the Statik site generator using the given parameters.
#     """
#     project = StatikProject(input_path, safe_mode=safe_mode, error_context=error_context)
#     return project.generate(output_path=output_path, in_memory=in_memory, deploy_method=deploy_method)


# Path: tests/integration/test_mustache_templates.py
import os
import os.path
import unittest
import logging
import xml.etree.ElementTree as ET
from statik.generator import generate
from statik.utils import *

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




DEBUG = (os.environ.get('DEBUG', False) == "True")


class TestStatikMustacheTemplating(unittest.TestCase):

    def setUp(self):
        if DEBUG:
            logging.basicConfig(
                level=logging.DEBUG,
                format='%(asctime)s\t%(name)s\t%(levelname)s\t%(message)s',
            )


    def test_mustache_templating(self):