Code Review
/
snaps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Added custom security group with ICMP and SSH rules.
[snaps.git]
/
snaps
/
openstack
/
tests
/
validation_utils.py
diff --git
a/snaps/openstack/tests/validation_utils.py
b/snaps/openstack/tests/validation_utils.py
index
7c9bd7f
..
b6d5856
100644
(file)
--- a/
snaps/openstack/tests/validation_utils.py
+++ b/
snaps/openstack/tests/validation_utils.py
@@
-1,4
+1,4
@@
-# Copyright (c) 201
6
Cable Television Laboratories, Inc. ("CableLabs")
+# Copyright (c) 201
7
Cable Television Laboratories, Inc. ("CableLabs")
# and others. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# and others. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@
-42,7
+42,7
@@
def dicts_equivalent(dict1, dict2):
:return: T/F
"""
if (type(dict1) is dict or type(dict1) is _DictWithMeta) and (type(dict2) is dict or type(dict2) is _DictWithMeta):
:return: T/F
"""
if (type(dict1) is dict or type(dict1) is _DictWithMeta) and (type(dict2) is dict or type(dict2) is _DictWithMeta):
- for key, value1 in dict1.ite
rite
ms():
+ for key, value1 in dict1.items():
if not objects_equivalent(value1, dict2.get(key)):
return False
return True
if not objects_equivalent(value1, dict2.get(key)):
return False
return True