[TIP] [tox] KeyError: 'HOMEDRIVE' on Windows

Chris Withers chris at simplistix.co.uk
Fri Jan 27 07:48:35 PST 2012

On 27/01/2012 15:18, Ronny Pfannschmidt wrote:
> On 01/27/2012 04:14 PM, Chris Withers wrote:
>> On 27/01/2012 15:11, Ronny Pfannschmidt wrote:
>>>> Is there some environment variable or tox config option I can set that
>>>> will cause this not to be called?
>>> currently not, right now the code is unconditional,
>>> is it possible to have ShiningPanda install a custom tox tarball?
>> Well, okay, but I can set environment variables in the Jenkins setup for
>> that node, it's more that I need to know what to set them too..
>> So, where should I point HOMEDRIVE and HOMEPATH to?
> oh, drats, why didn't i think of that
> i think anything should do, just use a nonexisting drive and a empty
> path for a starter,
> and just make a dir you can point it to if that fails

I set them to C and \Jenkins respectively, problems solved:


Now just one remaining ShiningPanda bug and I'll have a totally clear 
tox build! :-)


Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk

More information about the testing-in-python mailing list