summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRitesh Anand <ritesh.anand@hpe.com>2017-05-11 14:34:56 -0700
committerRitesh Anand <ritesh.anand@suse.com>2017-12-05 00:47:39 +0000
commit6e03c58b7f4525b70fc447c2286e5b34bde624b0 (patch)
tree1446d5f309b4088e74cdfeec9c90fd2ace20fd3c
parenta8e643ed7944700aa78ace7d0b47beeaeae11a9a (diff)
Do not create networks for API tests
We do not need network resources for these tests. Change-Id: I3e17a39d64835d49fcd882ec6b7b556b6acc4f17 Closes-Bug: #1689415
Notes
Notes (review): Code-Review+1: Hardik Italia <hardik.italia@suse.com> Code-Review+2: Graham Hayes <gr@ham.ie> Workflow+1: Graham Hayes <gr@ham.ie> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 12 Dec 2017 20:42:28 +0000 Reviewed-on: https://review.openstack.org/464087 Project: openstack/designate-tempest-plugin Branch: refs/heads/master
-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: