summaryrefslogtreecommitdiffstats
path: root/app/discover
diff options
context:
space:
mode:
Diffstat (limited to 'app/discover')
-rw-r--r--app/discover/fetchers/cli/cli_fetch_vpp_vedges.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/discover/fetchers/cli/cli_fetch_vpp_vedges.py b/app/discover/fetchers/cli/cli_fetch_vpp_vedges.py
index f9c622d..2023fe6 100644
--- a/app/discover/fetchers/cli/cli_fetch_vpp_vedges.py
+++ b/app/discover/fetchers/cli/cli_fetch_vpp_vedges.py
@@ -42,7 +42,7 @@ class TestCLIFormatter(base.ClientTestBase):
result = self._create_net('yaml', ['name', 'admin_state_up'])
self.assertDictEqual({'name': self.net_name,
'admin_state_up': True},
- yaml.load(result))
+ yaml.safe_load(result))
def test_net_create_with_value_formatter(self):
# NOTE(amotoki): In 'value' formatter, there is no guarantee