From 7f21d22d1ec39d2bbc4cc7e2eb888a40166957a8 Mon Sep 17 00:00:00 2001 From: Ryan Beisner Date: Tue, 6 Sep 2016 22:08:54 +0000 Subject: [PATCH] Update tox.ini files from release-tools gold copy All OpenStack Charms now contain identical tox.ini files, not to be modified or made unique within each charm repo. This is to ensure consistency across charm repos in tox target naming, approach and purpose, also giving the charm dev and test experience additional consistency. Change-Id: Ic11e99b47971d8cebe4707acfc5d23991804aed4 --- tox.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index efc5200e..491ccf15 100644 --- a/tox.ini +++ b/tox.ini @@ -1,3 +1,6 @@ +# Classic charm: ./tox.ini +# This file is managed centrally by release-tools and should not be modified +# within individual charm repos. [tox] envlist = pep8,py27 skipsdist = True @@ -5,9 +8,12 @@ skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} PYTHONHASHSEED=0 + AMULET_SETUP_TIMEOUT=2700 install_command = pip install --allow-unverified python-apt {opts} {packages} commands = ostestr {posargs} +whitelist_externals = juju +passenv = HOME TERM AMULET_* [testenv:py27] basepython = python2.7 @@ -70,4 +76,4 @@ commands = [flake8] ignore = E402,E226 -exclude = hooks/charmhelpers +exclude = */charmhelpers