Browse Source

Do not create networks for API tests

We do not need network resources for these tests.

Change-Id: I3e17a39d64835d49fcd882ec6b7b556b6acc4f17
Closes-Bug: #1689415
Ritesh Anand 1 year ago
parent
commit
6e03c58b7f
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      designate_tempest_plugin/tests/base.py

+ 6
- 0
designate_tempest_plugin/tests/base.py View File

@@ -75,6 +75,12 @@ class BaseDnsTest(test.BaseTestCase):
75 75
                         % cls.__name__)
76 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 84
     def assertExpected(self, expected, actual, excluded_keys):
79 85
         for key, value in six.iteritems(expected):
80 86
             if key not in excluded_keys:

Loading…
Cancel
Save