Protect vs exceptions when ext_nets is empty
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 6 Nov 2017 09:51:27 +0000 (10:51 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 6 Nov 2017 09:53:37 +0000 (10:53 +0100)
commite491334942083a81dab0f3450a809e29b0687c31
tree3d16248d90871f768cd602efdb226a97210ba55c
parent94fc7e3d0f904d227e3980567e640e2a4debf917
Protect vs exceptions when ext_nets is empty

Otherwise several exceptions are raised in TestCase constructors
(those defined in heathcheck).

Change-Id: I4cb054f7092ea9db02cb8c4469e99848533c556b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/opnfv_tests/openstack/snaps/snaps_utils.py