Browse Source

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
wangqi 10 months ago
parent
commit
42332b3eda
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      tox.ini

+ 0
- 1
tox.ini View File

@@ -8,7 +8,6 @@ skip_missing_interpreters = True
8 8
 
9 9
 [testenv]
10 10
 setenv = VIRTUAL_ENV={envdir}
11
-         PYTHONHASHSEED=0
12 11
          CHARM_DIR={envdir}
13 12
          AMULET_SETUP_TIMEOUT=5400
14 13
 install_command =

Loading…
Cancel
Save