Protect vs exceptions when ext_nets is empty 59/46759/1
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 14:07:43 +0000 (15:07 +0100)
commit925fd67983d97b16022620ef4c51a70ecf639f2a
tree9c191c1bc784cd3be0dfa04d72412aec7dd38ab2
parent79978853fea1eef900db1fe873d77636882183be
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>
(cherry picked from commit e491334942083a81dab0f3450a809e29b0687c31)
functest/opnfv_tests/openstack/snaps/snaps_utils.py