Merge "tests: remove self.injected"

This commit is contained in:
Zuul 2020-07-08 18:48:18 +00:00 committed by Gerrit Code Review
commit 919d054980
1 changed files with 0 additions and 8 deletions

View File

@ -247,7 +247,6 @@ class TestCase(testtools.TestCase):
self.addCleanup(CONF.reset)
self.addCleanup(self._common_cleanup)
self.injected = []
self._services = []
fake_notifier.mock_notifier(self)
@ -321,13 +320,6 @@ class TestCase(testtools.TestCase):
def _common_cleanup(self):
"""Runs after each test method to tear down test environment."""
# Stop any timers
for x in self.injected:
try:
x.stop()
except AssertionError:
pass
# Kill any services
for x in self._services:
try: