mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 15:21:13 +02:00
Fix test
This commit is contained in:
1 parent
3cf609303d
commit
c16d237176
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user