summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangqi <wang.qi@99cloud.net>2018-06-05 13:46:27 +0000
committerwangqi <wang.qi@99cloud.net>2018-06-05 13:47:05 +0000
commit42332b3eda9c758c208460d2c990420bb9ad9dcc (patch)
tree1f7e99db292be01ed8914e4ecba1d99f332c44f4
parenta8b50bff6f23411b7fcb27c4c8c5a306853419c5 (diff)
Enable Python hash seed randomization in tests
Unit tests should run with hash seed randomization on, to ensure code is not introduced that relies on ordered access of dicts, sets, etc. Python 3.3 enables this at runtime by default. Change-Id: I781fd850039e4817b63edaf275609c1dc47f4949
Notes
Notes (review): Code-Review+2: James Page <james.page@canonical.com> Workflow+1: James Page <james.page@canonical.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 12 Jul 2018 17:01:18 +0000 Reviewed-on: https://review.openstack.org/572398 Project: openstack/charm-ceph-osd Branch: refs/heads/master
-rw-r--r--tox.ini1
1 files changed, 0 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9944852..041c0e5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,6 @@ skip_missing_interpreters = True
8 8
9[testenv] 9[testenv]
10setenv = VIRTUAL_ENV={envdir} 10setenv = VIRTUAL_ENV={envdir}
11 PYTHONHASHSEED=0
12 CHARM_DIR={envdir} 11 CHARM_DIR={envdir}
13 AMULET_SETUP_TIMEOUT=5400 12 AMULET_SETUP_TIMEOUT=5400
14install_command = 13install_command =