jenkins-job-builder/jenkins_jobs
Darragh Bailey c99cbccb8e Ensure dict orders are deterministic
Python 3 enables hash randomization by default, additionally tox 1.7
turns on the same randomization for earlier versions of python by
default. Need to ensure that order of iteration over the yaml data and
resulting XML has deterministic order for testing.

Adapts https://gist.github.com/enaeseth/844388 which ensures data read
by yaml will have its order retained in a predictable manner across
multiple python versions.

Additionally it seems more sensible to ensure that the order of
generated XML snippets corresponding to the input yaml files are
consistently in the same order as the entries in the source files.

Closes-Bug: #1333349
Change-Id: I6bf6d298a2609cc6ddbbc6b02b7f1a04413a5c89
2014-09-01 14:15:10 +01:00
..
modules Ensure dict orders are deterministic 2014-09-01 14:15:10 +01:00
sphinx Add openstack-common support for setup and version 2012-11-10 23:36:16 +00:00
__init__.py Refactor modules and templating. 2012-08-10 16:00:42 +00:00
builder.py Handle utf8 in JJB 2014-08-29 14:19:21 -07:00
cmd.py Allow `test` command to use conf files 2014-07-09 15:57:00 +00:00
errors.py Adding some exception classes 2012-10-01 17:03:03 +00:00
local_yaml.py Ensure dict orders are deterministic 2014-09-01 14:15:10 +01:00
version.py Doc: Use VersionInfo from pbr and remove openstack common modules 2014-04-30 09:59:39 +09:00