]> git.puffer.fish Git - matthieu/frr.git/commit
topotest: implement json_cmp function
authorRafael Zalamena <rzalamena@gmail.com>
Wed, 28 Jun 2017 18:04:00 +0000 (15:04 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:11 +0000 (20:22 -0500)
commit09e21b44879ea05365d56feca6ce35a8c1753a63
tree0a846b85680e867d6d466433f20cca21b3d5704f
parent045aaf47ee0e6a9b2fd6e443dd3e9115da20edba
topotest: implement json_cmp function

Implemented a JSON compare function that tells you when a specific
subset of items exist or not inside a JSON dataset.

More details can be found in the function docstring or in the test file
lib/test_json.py.
tests/topotests/lib/test/__init__.py [new file with mode: 0644]
tests/topotests/lib/test/test_json.py [new file with mode: 0755]
tests/topotests/lib/topotest.py