Open leorochael opened 4 years ago
If you're unlucky to be in the situation of the issue above, the workaround is to override LOGNAME
while runinng tests. E.g.:
LOGNAME='username' pytest tests/functional/test_install.py::test_pep518_refuses_conflicting_requires
Or:
LOGNAME='username' tox
Environment
Description When
LOGNAME
contains a backslash (\
) some tests fail.This can happen when a linx machine is bound to an ActiveDirectory domain using
PowerBroker Identity Services
.In those cases the environment variables
LOGNAME
andUSER
will contain a value in the format `DOMAINNAME\usernameExpected behavior
All tests should pass.
How to Reproduce
pip install -r tools/requirements/tests.txt
).Output