mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-01 10:05:50 +00:00
8 lines
187 B
Python
8 lines
187 B
Python
import pytest
|
|
import tempfile
|
|
import shutil
|
|
|
|
@pytest.fixture
|
|
def class_tmpdir(request):
|
|
request.cls.tmpdir = x = tempfile.mkdtemp()
|
|
request.addfinalizer(lambda: shutil.rmtree(x))
|