summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-03-31 09:45:34 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-03-31 09:45:34 -0700
commitf2bf491f457c17b3a06b90043018c5599e5517f5 (patch)
treebdae5cfb14adc4f6e2c631e73f5ca65a40f1072b
parent5d8eecfeec632c1caa6fb36522a2f0fb76ad2faf (diff)
downloadpystache-f2bf491f457c17b3a06b90043018c5599e5517f5.tar.gz
Renamed custom_template.py to template_spec.py.
-rw-r--r--pystache/init.py4
-rw-r--r--pystache/template_spec.py (renamed from pystache/custom_template.py)0
-rw-r--r--tests/test_template_spec.py (renamed from tests/test_custom_template.py)4
3 files changed, 4 insertions, 4 deletions
diff --git a/pystache/init.py b/pystache/init.py
index 75c34a5..ab59440 100644
--- a/pystache/init.py
+++ b/pystache/init.py
@@ -5,8 +5,8 @@ This module contains the initialization logic called by __init__.py.
"""
-from .custom_template import View
-from .custom_template import CustomizedTemplate
+from .template_spec import View
+from .template_spec import CustomizedTemplate
from .renderer import Renderer
diff --git a/pystache/custom_template.py b/pystache/template_spec.py
index 5f6a79b..5f6a79b 100644
--- a/pystache/custom_template.py
+++ b/pystache/template_spec.py
diff --git a/tests/test_custom_template.py b/tests/test_template_spec.py
index eedf431..7e208c6 100644
--- a/tests/test_custom_template.py
+++ b/tests/test_template_spec.py
@@ -16,7 +16,7 @@ from examples.inverted import Inverted, InvertedLists
from pystache import CustomizedTemplate as Template
from pystache import Renderer
from pystache import View
-from pystache.custom_template import CustomLoader
+from pystache.template_spec import CustomLoader
from pystache.locator import Locator
from pystache.loader import Loader
from .common import AssertIsMixin
@@ -139,7 +139,7 @@ class ViewTestCase(unittest.TestCase):
class CustomLoaderTests(unittest.TestCase, AssertIsMixin, AssertStringMixin):
"""
- Tests custom_template.CustomLoader.
+ Tests template_spec.CustomLoader.
"""