blob: d3f0656a597bbb4981c83109c51e8b4c6228c751 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
# 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"):
impl.load()
|