2010-02-25 00:16:43 +01:00
|
|
|
"""
|
|
|
|
Tests for the proxy support in pip.
|
|
|
|
"""
|
2010-06-03 04:25:26 +02:00
|
|
|
|
2010-02-24 11:24:55 +01:00
|
|
|
import pip
|
2013-08-23 15:26:38 +02:00
|
|
|
from tests.lib import SRC_DIR
|
2013-08-23 13:23:52 +02:00
|
|
|
from tests.lib.path import Path
|
2011-03-15 20:49:48 +01:00
|
|
|
|
2010-02-24 11:24:55 +01:00
|
|
|
|
2010-02-25 00:16:43 +01:00
|
|
|
def test_correct_pip_version():
|
|
|
|
"""
|
|
|
|
Check we are importing pip from the right place.
|
2010-06-03 04:25:26 +02:00
|
|
|
|
2010-02-25 00:16:43 +01:00
|
|
|
"""
|
2013-08-23 15:26:38 +02:00
|
|
|
assert Path(pip.__file__).folder.folder.abspath == SRC_DIR
|