HomePhabricator

Set HOME in tox environement

Description

Set HOME in tox environement

Even with PYWIKIBOT2_NO_USER_CONFIG=1, pywikibot still create a
.pywikibot directory under $HOME. On CI that causes either:

  • the configuration to be kept between builds
  • Permission denied: '/nonexistent' on Docker containers since we run the test as user nobody which lacks a home directory.

Set HOME to the current virtual env directory.

Change-Id: I58b806719fa764c490075fedfaf97073d807419f

Details

Provenance
hasharAuthored on Feb 12 2018, 9:46 AM
Parents
rTHER929a49f3bef4: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
refs/changes/26/409826/1
ChangeId
I58b806719fa764c490075fedfaf97073d807419f