/
usr
/
lib
/
rads
/
tests
/
/usr/lib/rads/tests
mkdir
upload
Name
Size
Mode
Actions
conftest.py
254
0644
edit
dl
rm
test_helps.py
553
0644
edit
dl
rm
__init__.py
0
0644
edit
dl
rm
Edit:
/usr/lib/rads/tests/conftest.py
(254B)
"""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")
Save
cmd:
run