summaryrefslogtreecommitdiff
path: root/tests/cache/test_mako.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cache/test_mako.py')
-rw-r--r--tests/cache/test_mako.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/cache/test_mako.py b/tests/cache/test_mako.py
index 03c060c..d3f0656 100644
--- a/tests/cache/test_mako.py
+++ b/tests/cache/test_mako.py
@@ -9,10 +9,9 @@ class MakoTest(TestCase):
def test_entry_point(self):
import pkg_resources
-
+
+ # if the entrypoint isn't there, just pass, as the tests can be run
+ # without any setuptools install
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'"
+