From 28e0b6ec500f7b5d221abf723333ec59e603901f Mon Sep 17 00:00:00 2001 From: chidanandpujar Date: Wed, 29 May 2024 17:02:32 +0530 Subject: [PATCH] Fix no_diff with missing pre and post snapfile --- lib/jnpr/jsnapy/operator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jnpr/jsnapy/operator.py b/lib/jnpr/jsnapy/operator.py index fb11afb..bda8aaa 100755 --- a/lib/jnpr/jsnapy/operator.py +++ b/lib/jnpr/jsnapy/operator.py @@ -559,8 +559,8 @@ def not_exists( count_pass = count_pass + 1 node_value_passed = { "id": id_val, - "PRE": predict, - "POST": postdict, + "pre": predict, + "post": postdict, "message": message, } tresult["passed"].append(deepcopy(node_value_passed))