Browse Source

Merge "Do not create networks for API tests"

tags/0.4.0
Zuul 1 year ago
parent
commit
17ec35d19b
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