Fix typing error.

Change-Id: Ic40d60aea45d878fb578802efbc31a53dc45b071
This commit is contained in:
Federico Ressi 2019-03-14 14:56:28 +01:00
parent 7808957452
commit 3ee4feee49
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class TobikoUnitTest(base.TobikoTest):
self.addCleanup(context.stop) self.addCleanup(context.stop)
return mock_object return mock_object
def create_temdir(self, *args, **kwargs): def create_tempdir(self, *args, **kwargs):
dir_path = tempfile.mkdtemp(*args, **kwargs) dir_path = tempfile.mkdtemp(*args, **kwargs)
self.addCleanup(shutil.rmtree(dir_path, ignore_errors=True)) self.addCleanup(shutil.rmtree(dir_path, ignore_errors=True))
return dir_path return dir_path