blob: 03c060c873bc3288f262b40eb803d62d35e92a94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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'"
|