diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-03 01:54:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-03 01:54:40 +0000 |
commit | 4f13caca517bd6ff31c0213ec7f9d8809dd4ef3c (patch) | |
tree | 77296c20129fd9f87dd61839934bd5735120b4d2 /yardstick/benchmark/core/testcase.py | |
parent | 7786deb79662368c80386e6eaee4e9bfe12fcd2f (diff) | |
parent | 683fb00d41ed6a0a353cb1738b29216c05cd976e (diff) |
Merge "replace yaml.load with yaml.safe_load"
Diffstat (limited to 'yardstick/benchmark/core/testcase.py')
-rw-r--r-- | yardstick/benchmark/core/testcase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/core/testcase.py b/yardstick/benchmark/core/testcase.py index 7b23b73aa..7ab1b08cf 100644 --- a/yardstick/benchmark/core/testcase.py +++ b/yardstick/benchmark/core/testcase.py @@ -69,7 +69,7 @@ class Testcase(object): def _parse_testcase(self, testcase_info): rendered_testcase = TaskTemplate.render(testcase_info) - testcase_cfg = yaml.load(rendered_testcase) + testcase_cfg = yaml.safe_load(rendered_testcase) test_precondition = testcase_cfg.get('precondition', {}) installer_type = test_precondition.get('installer_type', 'all') |