summaryrefslogtreecommitdiff
path: root/tests/cache/test_mako.py
diff options
context:
space:
mode:
authorMike Bayer <classic@zzzcomputing.com>2014-04-11 14:03:17 -0400
committerMike Bayer <classic@zzzcomputing.com>2014-04-11 14:03:17 -0400
commitda88eb7fd76c961c5101d35a0d84cbbdd412add0 (patch)
treeff2ae75c41352d8711c8fae3f1e348193893ca36 /tests/cache/test_mako.py
parent1f6c6b50fed188ba68c2e98a3798a94de5df9307 (diff)
parent22548b3d45b13361fe1df9af8897e38c61bad894 (diff)
downloaddogpile-cache-da88eb7fd76c961c5101d35a0d84cbbdd412add0.tar.gz
Merged in zoomorph/dogpile.cache (pull request #15)
Fix Mako entry point
Diffstat (limited to 'tests/cache/test_mako.py')
-rw-r--r--tests/cache/test_mako.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/cache/test_mako.py b/tests/cache/test_mako.py
new file mode 100644
index 0000000..03c060c
--- /dev/null
+++ b/tests/cache/test_mako.py
@@ -0,0 +1,18 @@
+from unittest import TestCase
+
+from dogpile.cache import util
+
+
+class MakoTest(TestCase):
+ """ Test entry point for Mako
+ """
+
+ def test_entry_point(self):
+ import pkg_resources
+
+ for impl in pkg_resources.iter_entry_points("mako.cache", "dogpile.cache"):
+ print impl
+ impl.load()
+ return
+ else:
+ assert 0, "Missing entry point 'dogpile.cache' for 'mako.cache'"