]> git.puffer.fish Git - mirror/frr.git/commit
topotests: fix json_cmp wrong list handling
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 26 Jul 2018 19:34:15 +0000 (16:34 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:14 +0000 (20:22 -0500)
commit3e379f6e49e1d4a93f34270a52881e82ea8e7173
tree73660704b4d8272aaf727d77e3f207e63941152a
parenta82e5f9a7f56066c6b858a78b1e709e31793ffff
topotests: fix json_cmp wrong list handling

Don't quit on the first match. While here add some more `json_cmp` tests
to make sure this doesn't happen again.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
tests/topotests/lib/test/test_json.py
tests/topotests/lib/topotest.py