<filename>tests/test_persistent_cache_dir.py
# -*- coding: utf-8 -*-
import os

import persistent_cache

from . import CacheTestCase


@persistent_cache.persistent_cache
def f():
    return 0


class TestPersistentCacheDir(CacheTestCase):
    def test_persistent_cache_dir(self):
        f()
        assert os.path.exists(".persistent_cache")

<filename>tests/test_persistent_cache_dir.py
# -*- coding: utf-8 -*-
import os

import persistent_cache

from . import CacheTestCase


@persistent_cache.persistent_cache
def f():
    return 0


class TestPersistentCacheDir(CacheTestCase):
    def test_persistent_cache_dir(self):
        f()
        assert os.path.exists(".persistent_cache")

# -*- coding: utf-8 -*-