fatal: detected dubious ownership in repository at '/srv/maat/src/Aether' To add an exception for this directory, call: git config --global --add safe.directory /srv/maat/src/Aether python3 -m pytest ============================= test session starts ============================== platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0 rootdir: /srv/maat/src/Aether collected 1 item tests/test_units.py F [100%] =================================== FAILURES =================================== _________________________________ test_aether __________________________________ def test_aether(): print(os.getcwd()) fh = os.popen("echo bye | sftp -o IdentityFile=./aether aether@aninix.net", mode='r', buffering=-1) output = fh.read() retcode = fh.close() > assert retcode == None and CheckOutput(output) E assert (65280 == None) tests/test_units.py:11: AssertionError ----------------------------- Captured stdout call ----------------------------- /srv/maat/src/Aether ----------------------------- Captured stderr call ----------------------------- no such identity: ./aether: No such file or directory Permission denied, please try again. Permission denied, please try again. aether@aninix.net: Permission denied (publickey,password). Connection closed. Connection closed =========================== short test summary info ============================ FAILED tests/test_units.py::test_aether - assert (65280 == None) ============================== 1 failed in 0.68s =============================== make: *** [Makefile:84: test] Error 1