File: conftest.py

package info (click to toggle)
python-django-imagekit 6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 688 kB
  • sloc: python: 2,044; makefile: 133; sh: 6
file content (8 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
import pytest

from .utils import clear_imagekit_test_files


@pytest.fixture(scope='session', autouse=True)
def imagekit_test_files_teardown(request):
    request.addfinalizer(clear_imagekit_test_files)