Skip testcases when shared nets are found in AutoAllocateNetworkTest

Shared nets is common configuration for the system, e.g., if we set
create_isolated_networks = False, we will create a shared net for
all testcases/tenants to use, which is specified by fixed_network_name,
 cfg.StrOpt('fixed_network_name',
            help="Name of the fixed network that is visible to all test "
                 "projects. If multiple networks are available for a "
                 "project, this is the network which will be used for "
                 "creating servers if tempest does not create a network or "
                 "a network is not specified elsewhere. It may be used for "
                 "ssh validation only if floating IPs are disabled."),

So, when shared nets are found, we should skip the testcase instead of
raising an exception.

Change-Id: I44aa06c1e0b5fb1d58707605ca084b272223aaf7
diff --git a/tempest/api/compute/admin/test_auto_allocate_network.py b/tempest/api/compute/admin/test_auto_allocate_network.py
index a9772c4..c4d5768 100644
--- a/tempest/api/compute/admin/test_auto_allocate_network.py
+++ b/tempest/api/compute/admin/test_auto_allocate_network.py
@@ -84,8 +84,7 @@
         nets = cls.networks_client.list_networks(
             **search_opts).get('networks', [])
         if nets:
-            raise lib_excs.TempestException(
-                'Found shared networks: %s' % nets)
+            raise cls.skipException('Found shared networks: %s' % nets)
 
     @classmethod
     def resource_cleanup(cls):