Sindbad~EG File Manager

Current Path : /usr/lib/rads/tests/
Upload File :
Current File : //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")

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists