mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-24 06:44:34 +02:00
Do not reload a project if project is already opened
Ref https://github.com/GNS3/gns3-gui/issues/1251
This commit is contained in:
4 files changed
+34
-1
No files matched your search
@@ -242,6 +242,16 @@ def images_dir(config):
|
||||
return path
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def projects_dir(config):
|
||||
"""
|
||||
Get the location of images
|
||||
"""
|
||||
path = config.get_section_config("Server").get("projects_path")
|
||||
os.makedirs(path, exist_ok=True)
|
||||
return path
|
||||
|
||||
|
||||
@pytest.yield_fixture
|
||||
def darwin_platform():
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user