Commit 09b7e448 authored by Kenneth Reitz's avatar Kenneth Reitz

fix tests

parent e26a0f04
......@@ -54,23 +54,13 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
TMPTARDIR=$(mktemp -d)
trap "rm -rf $TMPTARDIR" RETURN
bpwatch start install_setuptools
# Prepare it for the real world
puts-step "Installing Setuptools ($SETUPTOOLS_VERSION)"
unzip $ROOT_DIR/vendor/setuptools-$SETUPTOOLS_VERSION.zip -d $TMPTARDIR
cd $TMPTARDIR/setuptools-$SETUPTOOLS_VERSION/
python setup.py install
cd $WORKING_DIR
bpwatch stop install_setuptoools
bpwatch start install_pip
puts-step "Installing Pip ($PIP_VERSION)"
tar zxf $ROOT_DIR/vendor/pip-$PIP_VERSION.tar.gz -C $TMPTARDIR
cd $TMPTARDIR/pip-$PIP_VERSION/
python setup.py install
cd $WORKING_DIR
puts-step "Bootstrapping pip"
python $ROOT_DIR/vendor/get-pip.py
bpwatch stop install_pip
bpwatch stop prepare_environment
fi
......
[packages]
requests = "*"
maya = "*"
......@@ -5,6 +5,14 @@ testNoRequirements() {
assertCapturedError
}
testPipenv() {
compile "pipenv"
assertCaptured "maya"
assertCapturedSuccess
}
testSetupPy() {
compile "setup-py"
assertCaptured "maya"
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment