Add an appliance templates directory

Fix https://github.com/GNS3/gns3-gui/issues/2133
This commit is contained in:
Julien Duponchelle committed 2017-07-19 11:44:05 +02:00
1 parent ac10ba370a
commit 7d123f334f
6 files changed
+54 -20

No files matched your search

+2 -1
View File
@@ -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