Do not reload a project if project is already opened

Ref https://github.com/GNS3/gns3-gui/issues/1251
This commit is contained in:
Julien Duponchelle committed 2016-06-17 17:50:06 +02:00
1 parent 4783691c87
commit 3132d51694
4 files changed
+34 -1

No files matched your search

+10
View File
@@ -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():
"""