diff options
author | John L. Villalovos <john.l.villalovos@intel.com> | 2017-12-01 09:53:15 -0800 |
---|---|---|
committer | John L. Villalovos <john.l.villalovos@intel.com> | 2017-12-01 10:00:48 -0800 |
commit | 1128a26cb4a7a56e735f862fe150f307d115e9be (patch) | |
tree | d126dce1f4b7b5798f790881ce688c115c13f18a /tox.ini | |
parent | 831576c906c74519babb2751a19673e30736a9af (diff) | |
download | ironic-python-agent-1128a26cb4a7a56e735f862fe150f307d115e9be.tar.gz |
tox: Don't create *.pyc files during unit/functional tests
Don't create *.pyc files during unit/functional tests as they just add
cruft during tox runs.
This is similar to what we already do in openstack/ironic
Change-Id: Id4364519903db20308f78f2aaeca3ad2d37b298a
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,7 @@ usedevelop = True install_command = pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} setenv = VIRTUAL_ENV={envdir} + PYTHONDONTWRITEBYTECODE = 1 OS_TEST_PATH=./ironic_python_agent/tests/unit LANGUAGE=en_US LC_ALL=en_US.utf-8 @@ -20,6 +21,7 @@ usedevelop = True # of seconds to wait for the agent to come alive during functional testing. setenv = VIRTUAL_ENV={envdir} + PYTHONDONTWRITEBYTECODE = 1 OS_TEST_PATH=./ironic_python_agent/tests/functional TEST_PORT=9999 IPA_WAIT_TRIES=100 |