Code Review
/
calipso.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3dc0687
)
use yaml.safe_load instead of yaml.load
75/38675/1
author
Yaron Yogev
<yaronyogev@gmail.com>
Thu, 3 Aug 2017 10:49:39 +0000
(13:49 +0300)
committer
Yaron Yogev
<yaronyogev@gmail.com>
Thu, 3 Aug 2017 10:49:39 +0000
(13:49 +0300)
Change-Id: Ifbe3ce4dba1047ffa97900c47b955192f4c8be1d
Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
app/discover/fetchers/cli/cli_fetch_vpp_vedges.py
patch
|
blob
|
history
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
(file)
--- 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