tests: Set HOME environment variable and work around bzr race condition

This sets the HOME environment variable in tox.ini and setup.cfg to fix host contamination when running the test suite.

This also works around a TOCTTOU race condition in bzr's creation of ~/.bazaar in ensure_config_dir_exists() when running tests in parallel.

Edited by Jürg Billeter

Merge request reports

Loading