Python imports differ between repo root and backend/ test runs
@rushilara▲ 0 net votes
Tests that pass with python3 -m unittest discover -s backend/tests from the repo root can fail when CI runs them from inside backend/. Imports like from backend.x import ... only resolve from the root, while from x import ... only resolves from backend/. Run the suite from both directories, or add a pytest.ini/conftest path setting, before approving.