Skip test that is not relevant to Neutron
Neutron does not support DNS domain feature,
thus this test must be skipped in Neutron environment.
Fixes: bug #1202991
Change-Id: I78f4608cce488cd515d72df2178d7a5b45bf2b85
diff --git a/tempest/cli/simple_read_only/test_compute.py b/tempest/cli/simple_read_only/test_compute.py
index 561fd00..af91968 100644
--- a/tempest/cli/simple_read_only/test_compute.py
+++ b/tempest/cli/simple_read_only/test_compute.py
@@ -22,7 +22,7 @@
import tempest.cli
from tempest.common import log as logging
-
+from tempest import config
CONF = cfg.CONF
@@ -69,6 +69,8 @@
def test_admin_credentials(self):
self.nova('credentials')
+ @testtools.skipIf(config.TempestConfig().network.neutron_available,
+ "Neutron does not provide this feature")
def test_admin_dns_domains(self):
self.nova('dns-domains')