make-test: fix ValueError raised by hook in python3 55/18555/2
authorNaveen Joy <najoy@cisco.com>
Wed, 27 Mar 2019 21:28:50 +0000 (14:28 -0700)
committerPaul Vinciguerra <pvinci@vinciconsulting.com>
Wed, 27 Mar 2019 23:53:49 +0000 (23:53 +0000)
commit64f7530fff5d8811894c75fc3378a5c6da77d7b8
tree28fdf961797a5abe3c3935ffdd6a45e24e243471
parent3b12aa97ca98a802623c70bf36af4d480944a725
make-test: fix ValueError raised by hook in python3

Without this patch, the hook module raises a ValueError
when tests are run using python3. This patch updates the
exception being caught by ipaddress to ValueError.

Change-Id: I5e11e292a05ddf350fc04ebaf19cfd7dad2bd9d0
Signed-off-by: Naveen Joy <najoy@cisco.com>
test/hook.py