TrivialFix: Fix a wrong order bug in resource_cleanup()
Super class resource_cleanup method should be called after class resource cleanup method(s). Change-Id: Ic56c49c6ca0066a97dcffc6b068dba7320728984
This commit is contained in:
parent
729c75cdc5
commit
26de94a0e0
@ -261,9 +261,9 @@ class BaseSharesTest(test.BaseTestCase):
|
||||
|
||||
@classmethod
|
||||
def resource_cleanup(cls):
|
||||
super(BaseSharesTest, cls).resource_cleanup()
|
||||
cls.clear_resources(cls.class_resources)
|
||||
cls.clear_isolated_creds(cls.class_isolated_creds)
|
||||
super(BaseSharesTest, cls).resource_cleanup()
|
||||
|
||||
@classmethod
|
||||
@network_synchronized
|
||||
|
Loading…
Reference in New Issue
Block a user