mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-30 21:03:49 +02:00
Fix tests
This commit is contained in:
parent
605afa1d33
commit
3ceb43fa62
@ -120,7 +120,7 @@ class BaseVM:
|
|||||||
Delete the VM (including all its files).
|
Delete the VM (including all its files).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
directory = self.project.vm_working_dir(self)
|
directory = self.project.vm_working_directory(self)
|
||||||
if os.path.exists(directory):
|
if os.path.exists(directory):
|
||||||
try:
|
try:
|
||||||
yield from wait_run_in_executor(shutil.rmtree, directory)
|
yield from wait_run_in_executor(shutil.rmtree, directory)
|
||||||
|
Loading…
Reference in New Issue
Block a user