1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-11 08:30:57 +00:00
This commit is contained in:
Julien Duponchelle 2015-09-04 09:13:57 +02:00
parent 3cf609303d
commit c16d237176

View File

@ -190,7 +190,7 @@ def test_close_project(server, project):
def test_close_project_two_client_connected(server, project):
ProjectHandler._notifications_listening = 2
ProjectHandler._notifications_listening = {project.id: 2}
with asyncio_patch("gns3server.modules.project.Project.close", return_value=True) as mock:
response = server.post("/projects/{project_id}/close".format(project_id=project.id), example=True)