From 6e03c58b7f4525b70fc447c2286e5b34bde624b0 Mon Sep 17 00:00:00 2001 From: Ritesh Anand Date: Thu, 11 May 2017 14:34:56 -0700 Subject: [PATCH] Do not create networks for API tests We do not need network resources for these tests. Change-Id: I3e17a39d64835d49fcd882ec6b7b556b6acc4f17 Closes-Bug: #1689415 --- designate_tempest_plugin/tests/base.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/designate_tempest_plugin/tests/base.py b/designate_tempest_plugin/tests/base.py index 8f3e83d3..43579dc2 100644 --- a/designate_tempest_plugin/tests/base.py +++ b/designate_tempest_plugin/tests/base.py @@ -75,6 +75,12 @@ class BaseDnsTest(test.BaseTestCase): % cls.__name__) raise cls.skipException(skip_msg) + @classmethod + def setup_credentials(cls): + # Do not create network resources for these test. + cls.set_network_resources() + super(BaseDnsTest, cls).setup_credentials() + def assertExpected(self, expected, actual, excluded_keys): for key, value in six.iteritems(expected): if key not in excluded_keys: