| Current Path : /proc/self/root/proc/self/root/usr/lib/rads/tests/ |
| Current File : //proc/self/root/proc/self/root/usr/lib/rads/tests/conftest.py |
"""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")