diff --git a/openstack/nose_plugin.py b/openstack/nose_plugin.py index a4b6bdb..e08319f 100644 --- a/openstack/nose_plugin.py +++ b/openstack/nose_plugin.py @@ -53,6 +53,8 @@ class Openstack(plugins.Plugin): def _get_name(self, test): address = test.address() + if address[2] is None: + return None, None parts = address[2].split(".") if len(parts) == 2: return tuple(parts)