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
This commit is contained in:
parent
98041532ff
commit
3146c32738
|
@ -183,7 +183,7 @@ class NeutronBaseTest(fuel_health.nmanager.NovaNetworkScenarioTest):
|
|||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
super(NeutronBaseTest, cls)
|
||||
super(NeutronBaseTest, cls).tearDownClass()
|
||||
cls._clean_floating_ips()
|
||||
cls._clear_networks()
|
||||
cls._cleanup_ports()
|
||||
|
|
Loading…
Reference in New Issue