Fix comment in tearDown()
This minor change fixes two typos in the tearDown() method. Change-Id: Ie99c671cbfdaed01715046ea65d49e09114b1e08
This commit is contained in:
@@ -48,9 +48,9 @@ class ShellTest(utils.TestCase):
|
||||
client.get_client_class = lambda *_: fakes.FakeClient
|
||||
|
||||
def tearDown(self):
|
||||
# For some method like test_image_meta_bad_action we are
|
||||
# For some methods like test_image_meta_bad_action we are
|
||||
# testing a SystemExit to be thrown and object self.shell has
|
||||
# no time to get instantatiated which is OK in this case, so
|
||||
# no time to get instantiated, which is OK in this case, so
|
||||
# we make sure the method is there before launching it.
|
||||
if hasattr(self.shell, 'cs'):
|
||||
self.shell.cs.clear_callstack()
|
||||
|
||||
Reference in New Issue
Block a user