]> git.puffer.fish Git - matthieu/frr.git/commit
tests: Fix topotests crash when KeyError found
authorKuldeep Kashyap <kashyapk@vmware.com>
Thu, 17 Mar 2022 08:28:29 +0000 (13:58 +0530)
committerKuldeep Kashyap <kashyapk@vmware.com>
Thu, 17 Mar 2022 11:59:43 +0000 (17:29 +0530)
commit77e578c90e32151603850c83082fb4e7b2875f60
tree7b483932567cb7c8ce13a762c3ff064d9e84f37a
parent0cd8bce1235ee51464ef0f2b10e834e9a17ea97b
tests: Fix topotests crash when KeyError found

1. Handle KeyError
2. logger object is defined in main function and its not not accessible
   in other functions so defined it in local functions.

Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
tests/topotests/lib/micronet_cli.py