Fix return type for cleanUp override method.
Change-Id: I4001c6dd8f6df0e8a0d27bca6260f67a1d553463
This commit is contained in:
parent
13947823b6
commit
172dead245
@ -231,7 +231,7 @@ class SharedFixture(fixtures.Fixture):
|
||||
try:
|
||||
if not self._cleanup_executed:
|
||||
self.addCleanup(self.cleanup_fixture)
|
||||
super(SharedFixture, self).cleanUp(raise_first=raise_first)
|
||||
return super(SharedFixture, self).cleanUp(raise_first=raise_first)
|
||||
finally:
|
||||
self._setup_executed = False
|
||||
self._cleanup_executed = True
|
||||
|
Loading…
Reference in New Issue
Block a user