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:
Dmitry Belyaninov 2016-10-27 08:40:03 +00:00 committed by tatyana-leontovich
parent 98041532ff
commit 3146c32738
1 changed files with 1 additions and 1 deletions

View File

@ -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()