Fix invalid exception module usage
This commit fixes an invalid exception module usage. We don't have
InvalidParam class in `tempest.exceptions` module but in
`tempest.lib.exceptions` module.
Change-Id: I22b535c4a632d9f66cf2a85a5ff83b1f0aaf1497
diff --git a/tempest/api/compute/base.py b/tempest/api/compute/base.py
index 09dd409..624a99e 100644
--- a/tempest/api/compute/base.py
+++ b/tempest/api/compute/base.py
@@ -457,7 +457,7 @@
else:
msg = ('When validation.connect_method equals floating, '
'validation_resources cannot be None')
- raise exceptions.InvalidParam(invalid_param=msg)
+ raise lib_exc.InvalidParam(invalid_param=msg)
elif CONF.validation.connect_method == 'fixed':
addresses = server['addresses'][CONF.validation.network_for_ssh]
for address in addresses: