"""pytest fixtures"""
from pathlib import Path
import pytest
@pytest.fixture
def install_root():
"""Yield a flask test client"""
dedrads = Path("/opt/dedrads")
if dedrads.is_dir():
return dedrads
return Path("/opt/sharedrads")