First time here? Check out the FAQ!

Revision history  [back]

activate virtualenv in test script

In a project with no virtualenv activated I am testing python script to activate virtual env. Creation and activation are done using subprocess to call bash scripts.

I cannot get the virtual env to be activated, that is the VIRTUAL_ENV environment variable to be set. Is this deviant usage of wing?

I guess I can find a turn around with mocks. I would just like to know!...