aboutsummaryrefslogtreecommitdiff
path: root/lava_dispatcher/test/test_recovery.py
diff options
context:
space:
mode:
Diffstat (limited to 'lava_dispatcher/test/test_recovery.py')
-rw-r--r--lava_dispatcher/test/test_recovery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lava_dispatcher/test/test_recovery.py b/lava_dispatcher/test/test_recovery.py
index 7137061f8..71cd0b047 100644
--- a/lava_dispatcher/test/test_recovery.py
+++ b/lava_dispatcher/test/test_recovery.py
@@ -53,7 +53,7 @@ class FastBootFactory(Factory): # pylint: disable=too-few-public-methods
def create_hikey_bl_job(self, filename):
(data, device_dict) = self.create_hikey_bl_device('hi6220-hikey-01')
- device = NewDevice(yaml.load(data))
+ device = NewDevice(yaml.safe_load(data))
self.validate_data('hi6220-hikey-01', device_dict)
fastboot_yaml = os.path.join(os.path.dirname(__file__), filename)
with open(fastboot_yaml) as sample_job_data: