Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualenv: allow tests to run properly on them #910

Merged
merged 1 commit into from Dec 7, 2015

Commits on Dec 7, 2015

  1. virtualenv: allow tests to run properly on them

    While going through the dependency list (requirements*.txt files) and
    performing our self tests out of virtual environments, I noticed that
    some tests are run outside the virtual environments.
    
    The reason is that, even though the virtual environment is activated
    for the test session (and say, `which python` gives `/venv/bin/python`),
    we have hard coded `/usr/bin/python` in most places.
    
    According to the some discussions on the virtualenv project itself[1],
    a quick solution is to revert to the also common `/usr/bin/env python`
    way of pointing to the Python interpreter.
    
    [1] - pypa/virtualenv#124
    
    Signed-off-by: Cleber Rosa <crosa@redhat.com>
    clebergnu committed Dec 7, 2015
    Copy the full SHA
    63aa6df View commit details
    Browse the repository at this point in the history