piscsi
piscsi copied to clipboard
Web UI test suite assumes /home/pi root
In the latest develop:
The newly added Web UI test suite assumes that files are located under /home/pi
python/web/tests/api/conftest.py
CFG_DIR = "/home/pi/.config/rascsi"
IMAGES_DIR = "/home/pi/images"
AFP_DIR = "/home/pi/afpshare"
We should make this configurable, for instance: python/web/tests/conftest.py
def pytest_addoption(parser):
parser.addoption("--prefix", action="store", default="/home/pi")
@nucleogenic FYI so that this isn't forgotten
Fixed with https://github.com/akuker/RASCSI/pull/901