summaryrefslogtreecommitdiffstats
path: root/tests/test_policyhandler.py
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-02-23 14:26:47 -0500
committerAlex Shatov <alexs@att.com>2018-02-23 14:26:47 -0500
commitd52c135012f098230ea74dd6135db4c557a15594 (patch)
tree60b5fa6372a82de6bc237f8020c657b699c703e7 /tests/test_policyhandler.py
parent8aa19180e9a02f34ccd0bc4991c0579131bd182a (diff)
fixed a bug in unit tests
- minor list comparison bug - not affecting much Change-Id: I2f3a51ce2064601f0a08547d7c250eee551f6721 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-347
Diffstat (limited to 'tests/test_policyhandler.py')
-rw-r--r--tests/test_policyhandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_policyhandler.py b/tests/test_policyhandler.py
index 19614bf..bd5ca19 100644
--- a/tests/test_policyhandler.py
+++ b/tests/test_policyhandler.py
@@ -164,7 +164,7 @@ class MonkeyPolicyBody(object):
val_1 = policy_body_1[key]
val_2 = policy_body_2[key]
if isinstance(val_1, list) and isinstance(val_2, list):
- if sorted(val_1) != sorted(val_1):
+ if sorted(val_1) != sorted(val_2):
return False
continue