mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
9 lines
188 B
Python
9 lines
188 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))
|