Browse Source

Add "tearDownClass" call from parent class

The "NeutronBaseTest" class should call
"tearDownClass" method from base class
to initialize "error_msg". The reason is
"AttributeError" for derived classes
if "error_msg" was not initialized.

Change-Id: Ifb78e7902b37f70f6adea6a214f8e440b0ec767f
Closes-Bug: 1604315
Dmitry Belyaninov 2 years ago
parent
commit
3146c32738
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      fuel_health/neutronmanager.py

+ 1
- 1
fuel_health/neutronmanager.py View File

@@ -183,7 +183,7 @@ class NeutronBaseTest(fuel_health.nmanager.NovaNetworkScenarioTest):
183 183
 
184 184
     @classmethod
185 185
     def tearDownClass(cls):
186
-        super(NeutronBaseTest, cls)
186
+        super(NeutronBaseTest, cls).tearDownClass()
187 187
         cls._clean_floating_ips()
188 188
         cls._clear_networks()
189 189
         cls._cleanup_ports()

Loading…
Cancel
Save