summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2017-12-12 20:42:28 +0000
committerGerrit Code Review <review@openstack.org>2017-12-12 20:42:28 +0000
commit17ec35d19b5bb9d1a6ff17c62fdf6f5940eadb63 (patch)
tree14bfd277d2ffdbbff2cc4d5548b8cec97891a836
parent7cd8d5a663965960db6d78df274afa96cdcb9e79 (diff)
parent6e03c58b7f4525b70fc447c2286e5b34bde624b0 (diff)
Merge "Do not create networks for API tests"
-rw-r--r--designate_tempest_plugin/tests/base.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/designate_tempest_plugin/tests/base.py b/designate_tempest_plugin/tests/base.py
index 8f3e83d..43579dc 100644
--- a/designate_tempest_plugin/tests/base.py
+++ b/designate_tempest_plugin/tests/base.py
@@ -75,6 +75,12 @@ class BaseDnsTest(test.BaseTestCase):
75 % cls.__name__) 75 % cls.__name__)
76 raise cls.skipException(skip_msg) 76 raise cls.skipException(skip_msg)
77 77
78 @classmethod
79 def setup_credentials(cls):
80 # Do not create network resources for these test.
81 cls.set_network_resources()
82 super(BaseDnsTest, cls).setup_credentials()
83
78 def assertExpected(self, expected, actual, excluded_keys): 84 def assertExpected(self, expected, actual, excluded_keys):
79 for key, value in six.iteritems(expected): 85 for key, value in six.iteritems(expected):
80 if key not in excluded_keys: 86 if key not in excluded_keys: