File: conftest.py

package info (click to toggle)
python-django-imagekit 5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 692 kB
  • sloc: python: 1,975; makefile: 133; sh: 6
file content (8 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (2)
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)