From d52c135012f098230ea74dd6135db4c557a15594 Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Fri, 23 Feb 2018 14:26:47 -0500 Subject: fixed a bug in unit tests - minor list comparison bug - not affecting much Change-Id: I2f3a51ce2064601f0a08547d7c250eee551f6721 Signed-off-by: Alex Shatov Issue-ID: DCAEGEN2-347 --- tests/test_policyhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg