tests: better reporting for unexpected packets 96/35396/7
authorKlement Sekera <klement@graphiant.com>
Fri, 18 Feb 2022 10:35:08 +0000 (10:35 +0000)
committerKlement Sekera <klement.sekera@gmail.com>
Thu, 24 Feb 2022 12:51:33 +0000 (12:51 +0000)
commit26cd0242c95025e0d644db3a80dfe8dee83b6d7a
tree40051a3d6efd96a57745f371910116bd9f9f5497
parent40cfc1560ee6fa11e4d6c74e9730541a8a45b68a
tests: better reporting for unexpected packets

Raise a new UnexpectedPacketErrror, when a packet is captured
unexpectedly. This pretty-prints a terse description of said packet.

Type: improvement
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Change-Id: Ibac19fc5bbd82a150fec3c90940a37af6344fd4f
test/framework.py
test/util.py
test/vpp_pg_interface.py