[PATCH] tests: don't touch the network when using virtualenv

danek.duvall at oracle.com danek.duvall at oracle.com
Mon Jun 19 23:09:26 UTC 2017


# HG changeset patch
# User Danek Duvall <danek.duvall at oracle.com>
# Date 1497913700 25200
#      Mon Jun 19 16:08:20 2017 -0700
# Node ID c129491ce55e703b50d39fb30ae6da6aa50fc78e
# Parent  661025fd3e1cd5d5e2dee12b7f64312d6cd48a0b
tests: don't touch the network when using virtualenv

diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -185,7 +185,7 @@ Note: --no-site-packages is deprecated, 
 ancient virtualenv from their linux distro or similar and it's not yet
 the default for them.
   $ unset PYTHONPATH
-  $ $PYTHON -m virtualenv --no-site-packages installenv >> pip.log
+  $ $PYTHON -m virtualenv --no-site-packages --never-download installenv >> pip.log
 Note: we use this weird path to run pip and hg to avoid platform differences,
 since it's bin on most platforms but Scripts on Windows.
   $ ./installenv/*/pip install $TESTDIR/.. >> pip.log


More information about the Mercurial-devel mailing list