test/vpp_ip.py: Correct usage of 'is' 08/16408/5
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Sun, 9 Dec 2018 16:52:14 +0000 (08:52 -0800)
committerOle Trøan <otroan@employees.org>
Thu, 20 Dec 2018 12:44:59 +0000 (12:44 +0000)
commita3aaa61e2f2fd81f9653cb678b38519e96e6c6cd
tree93ef227b7146d08809c0ce132d3d264dd3dd1abb
parent852f5ef9cf8010a94beeea8a73f308576e442e46
test/vpp_ip.py:  Correct usage of 'is'

  * Correct 'is' (identity) usage where equality is needed '=='.
  * Change raise 'Exception' to log message and return NotImplemented.
    (see: https://docs.python.org/3/library/constants.html#NotImplemented)
  * Remove duplicate property: bytes.
  * Remove duplicate method: __eq__.

Change-Id: Id3ae4f92f985eb7cef334e2679f19ecc971007c1
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
test/vpp_ip.py