aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit
diff options
context:
space:
mode:
authorvalentin boucher <valentin.boucher@orange.com>2017-05-22 13:09:56 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-22 13:09:56 +0000
commitd71eadbd067f590ab0f456dfcd603ce183b3779c (patch)
tree642479f9e195b32e628781a4969244014032253e /functest/tests/unit
parent3a464d056668e66d8ea9d1786f17a5afb033fb6e (diff)
parentbdf5048343f9d3f419bbd16dfb219fa79a9ad694 (diff)
Merge "Sort keys when dumping json"
Diffstat (limited to 'functest/tests/unit')
-rw-r--r--functest/tests/unit/utils/test_decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/utils/test_decorators.py b/functest/tests/unit/utils/test_decorators.py
index 6bd47d25..44448f23 100644
--- a/functest/tests/unit/utils/test_decorators.py
+++ b/functest/tests/unit/utils/test_decorators.py
@@ -63,7 +63,7 @@ class DecoratorsTesting(unittest.TestCase):
'pod_name': self._node_name, 'installer': self._installer_type,
'scenario': self._deploy_scenario, 'version': VERSION,
'details': {}, 'criteria': self._result}
- return json.dumps(data)
+ return json.dumps(data, sort_keys=True)
@mock.patch('{}.get_db_url'.format(functest_utils.__name__),
return_value='http://127.0.0.1')