[Python-modules-commits] [tox] 09/69: Prevent internet access when running tox's own tests.

Barry Warsaw barry at moszumanska.debian.org
Fri Sep 5 23:26:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository tox.

commit 296dc3dbdda57ca6af2ce32438200fa87a48fcd8
Author: Barry Warsaw <barry at python.org>
Date:   Wed Nov 28 14:59:23 2012 -0500

    Prevent internet access when running tox's own tests.
    
    Forwarded: not-needed
    
    Patch-Name: no-download.patch
---
 tox.ini | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tox.ini b/tox.ini
index 42d93c8..50538a5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,16 +1,17 @@
 [tox]
 envlist=py27,py26,py25,py31,py32,docs
+sitepackages=True
 indexserver =
-    testrun = http://pypi.testrun.org
-    pypi = http://pypi.python.org/simple
+    testrun = http://missing.example.com
+    pypi = http://missing.example.com
+    default = http://missing.example.com
 
 [testenv:X]
 commands=echo {posargs}
 
 [testenv]
 commands=py.test --junitxml={envlogdir}/junit-{envname}.xml {posargs}
-deps=pytest
-     py
+deps=
 
 [testenv:docs]
 basepython=python

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/tox.git



More information about the Python-modules-commits mailing list