import sys, tempfile
from pathlib import Path
sys.path.insert(0,str(Path(__file__).resolve().parent))
from test_photo_library import factory
factory()
import pytest
# Concurrent worktrees must not erase one another's fixed pytest directory.
with tempfile.TemporaryDirectory(prefix='wlibc-factory-') as scratch:
    raise SystemExit(pytest.main(['-q','--basetemp='+str(Path(scratch)/'base'),'omg/factory/test_ohmygames_library.py']))
