Fix return type for cleanUp override method.

Change-Id: I4001c6dd8f6df0e8a0d27bca6260f67a1d553463
changes/42/642042/1
Federico Ressi 4 years ago
parent 13947823b6
commit 172dead245
  1. 2
      tobiko/common/managers/fixture.py

@ -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…
Cancel
Save