def METHOD_NAME(self):
    # build cache class to instance
    cache_type = getattr(settings, 'TILESTACHE_CACHE_TYPE', 'Test')
    cache_type = cache_type[0].upper() + cache_type[1:].lower()
    self.cache = CACHE_CLASSES[cache_type]()