diff options
author | Mike Bayer <classic@zzzcomputing.com> | 2014-04-11 14:03:17 -0400 |
---|---|---|
committer | Mike Bayer <classic@zzzcomputing.com> | 2014-04-11 14:03:17 -0400 |
commit | da88eb7fd76c961c5101d35a0d84cbbdd412add0 (patch) | |
tree | ff2ae75c41352d8711c8fae3f1e348193893ca36 /tests | |
parent | 1f6c6b50fed188ba68c2e98a3798a94de5df9307 (diff) | |
parent | 22548b3d45b13361fe1df9af8897e38c61bad894 (diff) | |
download | dogpile-cache-da88eb7fd76c961c5101d35a0d84cbbdd412add0.tar.gz |
Merged in zoomorph/dogpile.cache (pull request #15)
Fix Mako entry point
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cache/test_mako.py | 18 |
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'"
|