mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-26 15:44:34 +02:00
Add an appliance templates directory
Fix https://github.com/GNS3/gns3-gui/issues/2133
This commit is contained in:
6 files changed
+54
-20
No files matched your search
+2
-1
@@ -205,6 +205,7 @@ def run_around_tests(monkeypatch, port_manager, controller, config):
|
||||
config.set("Server", "projects_path", os.path.join(tmppath, 'projects'))
|
||||
config.set("Server", "symbols_path", os.path.join(tmppath, 'symbols'))
|
||||
config.set("Server", "images_path", os.path.join(tmppath, 'images'))
|
||||
config.set("Server", "appliances_path", os.path.join(tmppath, 'appliances'))
|
||||
config.set("Server", "ubridge_path", os.path.join(tmppath, 'bin', 'ubridge'))
|
||||
config.set("Server", "auth", False)
|
||||
|
||||
@@ -227,7 +228,7 @@ def run_around_tests(monkeypatch, port_manager, controller, config):
|
||||
# An helper should not raise Exception
|
||||
try:
|
||||
shutil.rmtree(tmppath)
|
||||
except:
|
||||
except BaseException:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user